Skip to content

Commit 38266da

Browse files
committed
Remove the dependency on the migration plugin.
1 parent 063c611 commit 38266da

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

build.gradle

+8-13
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ buildscript {
99

1010
ext.kotlin_version = Version.INSTANCE.Kotlin(ext.ijVersion)
1111
ext.java_version = Version.INSTANCE.Java(ext.ijVersion)
12-
ext.kotlin_stdlib = "kotlin-stdlib"
1312

1413
ext.saxon_version = "9.9.1-7"
1514
ext.jsoup_version = "1.15.4"
@@ -35,7 +34,6 @@ buildscript {
3534

3635
plugins {
3736
id "org.jetbrains.intellij.platform" version "2.0.0"
38-
id "org.jetbrains.intellij.platform.migration" version "2.0.0"
3937
}
4038

4139
configure(allprojects - project(':src')) {
@@ -63,11 +61,6 @@ configure(allprojects - project(':src')) {
6361
jvmToolchain(java_version)
6462
}
6563

66-
intellij {
67-
version = idea_version
68-
type = idea_type
69-
}
70-
7164
runIde {
7265
maxHeapSize = "2g"
7366
}
@@ -180,12 +173,14 @@ tasks {
180173
}
181174

182175
println "Building for IntelliJ ${idea_type} version '${idea_version}', since build '${idea_since_build}'"
183-
184-
intellij.updateSinceUntilBuild = true
185-
intellij.sameSinceUntilBuild = true // 'until' is an open 'since' build
186-
187-
patchPluginXml {
188-
sinceBuild = "${idea_since_build}"
176+
177+
intellijPlatform {
178+
pluginConfiguration {
179+
ideaVersion {
180+
sinceBuild = "$idea_since_build"
181+
untilBuild = "$idea_since_build.*"
182+
}
183+
}
189184
}
190185

191186
repositories {

0 commit comments

Comments
 (0)