@@ -2,9 +2,9 @@ import com.hierynomus.gradle.license.tasks.LicenseCheck
22import com.hierynomus.gradle.license.tasks.LicenseFormat
33
44plugins {
5- id " org.jetbrains.intellij" version " 0.4.21 "
5+ id " org.jetbrains.intellij" version " 1.1.4 "
66 id " com.github.hierynomus.license" version " 0.14.0"
7- id " de.undercouch.download" version " 4.0.4 "
7+ id " de.undercouch.download" version " 4.1.2 "
88 id ' org.jetbrains.kotlin.jvm' version ' 1.4.31'
99}
1010
@@ -26,26 +26,18 @@ targetCompatibility = 1.8
2626repositories {
2727 mavenLocal()
2828 mavenCentral()
29- maven {
30- url ' https://dl.bintray.com/jetbrains/intellij-plugin-service'
31- }
3229}
3330
3431intellij {
35- version System . getenv(). getOrDefault(' IDEA_VERSION' , ideaVersion)
36- type ideaType
37- downloadSources Boolean . valueOf(sources)
38- sameSinceUntilBuild Boolean . valueOf(isEAP)
39- alternativeIdePath idePath
40- updateSinceUntilBuild false
41- pluginName ' MapStruct-Intellij-Plugin'
32+ version = System . getenv(). getOrDefault(' IDEA_VERSION' , ideaVersion)
33+ type = ideaType
34+ downloadSources = Boolean . valueOf(sources)
35+ sameSinceUntilBuild = Boolean . valueOf(isEAP)
36+ updateSinceUntilBuild = false
37+ pluginName = ' MapStruct-Intellij-Plugin'
4238 // The properties plugin is needed because Kotlin uses it
4339 // and for some reason plugins does not transitively pull itx
44- if ( ! (version. startsWith(' 2018' ) || version. startsWith(' 2019.1' ))) {
45- plugins = [' java' , ' Kotlin' , ' properties' ]
46- } else {
47- plugins = [' Kotlin' , ' properties' ]
48- }
40+ plugins = [' java' , ' Kotlin' , ' properties' ]
4941}
5042
5143compileKotlin {
0 commit comments