plugins { id 'java' id 'org.jetbrains.intellij' version '0.4.7' } project.version '2.0.0' sourceCompatibility = 1.8 repositories { mavenCentral() } dependencies { testCompile group: 'junit', name: 'junit', version: '4.12' } // 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") } 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