Skip to content

Commit

Permalink
build: setup Plugin Verifier
Browse files Browse the repository at this point in the history
  • Loading branch information
lppedd committed Mar 22, 2023
1 parent aa92c1e commit a9ddc0b
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,6 @@ tasks {
distributionType = Wrapper.DistributionType.ALL
}

runIde {
val dcevm = project.findProperty("dcevmExecutable")

if (dcevm is String && dcevm.isNotBlank()) {
executable = dcevm
}
}

val kotlinSettings: KotlinCompile.() -> Unit = {
kotlinOptions.jvmTarget = "11"
kotlinOptions.freeCompilerArgs += listOf(
Expand All @@ -106,4 +98,21 @@ tasks {
pluginDescription.set((File("$projectPath/plugin-description.html").readText(Charsets.UTF_8)))
changeNotes.set((File("$projectPath/change-notes/${version.get().replace('.', '_')}.html").readText(Charsets.UTF_8)))
}

runPluginVerifier {
ideVersions.set(listOf(
"IC-2020.2.1",
"IC-2021.1",
"IC-2022.1",
"IC-2023.1",
))
}

runIde {
val dcevm = project.findProperty("dcevmExecutable")

if (dcevm is String && dcevm.isNotBlank()) {
executable = dcevm
}
}
}

0 comments on commit a9ddc0b

Please sign in to comment.