Skip to content

Commit a9ddc0b

Browse files
committed
build: setup Plugin Verifier
1 parent aa92c1e commit a9ddc0b

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

build.gradle.kts

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,6 @@ tasks {
7272
distributionType = Wrapper.DistributionType.ALL
7373
}
7474

75-
runIde {
76-
val dcevm = project.findProperty("dcevmExecutable")
77-
78-
if (dcevm is String && dcevm.isNotBlank()) {
79-
executable = dcevm
80-
}
81-
}
82-
8375
val kotlinSettings: KotlinCompile.() -> Unit = {
8476
kotlinOptions.jvmTarget = "11"
8577
kotlinOptions.freeCompilerArgs += listOf(
@@ -106,4 +98,21 @@ tasks {
10698
pluginDescription.set((File("$projectPath/plugin-description.html").readText(Charsets.UTF_8)))
10799
changeNotes.set((File("$projectPath/change-notes/${version.get().replace('.', '_')}.html").readText(Charsets.UTF_8)))
108100
}
101+
102+
runPluginVerifier {
103+
ideVersions.set(listOf(
104+
"IC-2020.2.1",
105+
"IC-2021.1",
106+
"IC-2022.1",
107+
"IC-2023.1",
108+
))
109+
}
110+
111+
runIde {
112+
val dcevm = project.findProperty("dcevmExecutable")
113+
114+
if (dcevm is String && dcevm.isNotBlank()) {
115+
executable = dcevm
116+
}
117+
}
109118
}

0 commit comments

Comments
 (0)