diff --git a/action_basics/build.gradle b/action_basics/build.gradle index 0e0dad415..63c21b9dd 100644 --- a/action_basics/build.gradle +++ b/action_basics/build.gradle @@ -3,7 +3,6 @@ plugins { id 'org.jetbrains.intellij' version '0.4.7' } -project.version '2.0.0' sourceCompatibility = 1.8 repositories { @@ -16,22 +15,16 @@ dependencies { // See https://github.com/JetBrains/gradle-intellij-plugin/ intellij { + // Define IntelliJ Platform API version to use for building this plugin version '2019.1' - // Define a communal sandbox directory for running code sample plugins within an IDE. - sandboxDirectory = file("${project.projectDir}/../Build/idea-sandbox") + +// Prevents patching attributes in plugin.xml + updateSinceUntilBuild = false +// Define a shared sandbox directory for running code sample plugins within an IDE. + sandboxDirectory = file("${project.projectDir}/../_idea-sandbox") + } -patchPluginXml { - version = project.version // tag value - // Fix limited until-build default value. - sinceBuild = '191' // tag since-build attribute - untilBuild = '201.*' // tag until-build attribute - until v2020.1 -} - -// Define javadoc paths, force rebuild before jar is built -javadoc { - // Include all class files, e.g. from libraries - classpath = sourceSets.main.compileClasspath -} -jar.dependsOn javadoc +// Force javadoc rebuild before jar is built +jar.dependsOn javadoc \ No newline at end of file diff --git a/action_basics/src/main/resources/META-INF/plugin.xml b/action_basics/src/main/resources/META-INF/plugin.xml index bf5f31775..1200274d8 100644 --- a/action_basics/src/main/resources/META-INF/plugin.xml +++ b/action_basics/src/main/resources/META-INF/plugin.xml @@ -8,11 +8,10 @@ SDK Action Sample Project - + 2.0.0 - + @@ -31,7 +30,7 @@ - IntelliJ Platform SDK + IntelliJ Platform SDK