mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-27 16:57:49 +08:00
Add notes about AnnotationHolder changes Update upsource links per inspections Fixes deprecation warning for AnnotationHolder Compiles, but deprecation warnings for AbstractTreeBuilder, AbstractTreeUpdater, AnnotationHolder
48 lines
1.1 KiB
Groovy
48 lines
1.1 KiB
Groovy
// Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
|
|
|
plugins {
|
|
id 'java'
|
|
id 'org.jetbrains.intellij' version '0.4.21'
|
|
}
|
|
|
|
group 'org.intellij.sdk'
|
|
version '2.0.0'
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
test {
|
|
// This path value is machine-specific placeholder text.
|
|
// Set idea.home.path to the absolute path to the intellij-community source
|
|
// on your local machine.
|
|
// Use variants described in https://docs.gradle.org/current/userguide/build_environment.html
|
|
// for real world projects.
|
|
systemProperty "idea.home.path", "/Users/jhake/Documents/source/comm"
|
|
}
|
|
|
|
// Include the generated files in the source set
|
|
sourceSets.main.java.srcDirs 'src/main/gen'
|
|
|
|
dependencies {
|
|
testImplementation group: 'junit', name: 'junit', version: '4.12'
|
|
}
|
|
|
|
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
|
intellij {
|
|
version = '2020.2'
|
|
plugins = ['java']
|
|
}
|
|
|
|
buildSearchableOptions {
|
|
enabled = false
|
|
}
|
|
|
|
patchPluginXml {
|
|
version = project.version
|
|
sinceBuild = '202'
|
|
untilBuild = '202.*'
|
|
}
|