Skip to content

Commit

Permalink
Migrated to the gradle plugin 2.1.1-SNAPSHOT
Browse files Browse the repository at this point in the history
bundledModule are necessary to workaround current bugs
  • Loading branch information
hurricup committed Nov 6, 2024
1 parent 5779d2e commit c92a71a
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
8 changes: 7 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ buildscript {
plugins {
id("idea")
id("jacoco")
id("org.jetbrains.intellij.platform") version "2.0.1"
id("org.jetbrains.intellij.platform") version "2.1.1-SNAPSHOT"
id("org.jetbrains.grammarkit") version "2022.3.2.2"
id("com.github.kt3k.coveralls") version "2.12.2"
id("org.sonarqube") version "5.1.0.4882"
Expand Down Expand Up @@ -190,9 +190,15 @@ allprojects {
buildSearchableOptions {
enabled = false
}
prepareJarSearchableOptions {
enabled = false
}
verifyPlugin {
enabled = false
}
verifyPluginProjectConfiguration {
enabled = true
}
publishPlugin {
enabled = false
}
Expand Down
10 changes: 10 additions & 0 deletions plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ dependencies {
}



tasks {
buildPlugin {
archiveBaseName.set("lang.perl5")
Expand All @@ -92,4 +93,13 @@ tasks {
intoChild(intellijPlatform.projectName.map { projectName -> "$projectName/perl" })
.from(file("scripts"))
}

test {
dependencies {
intellijPlatform {
bundledModule("intellij.platform.coverage.agent")
bundledModule("intellij.profiler.common")
}
}
}
}
1 change: 1 addition & 0 deletions plugin/coverage/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ dependencies {
val platformVersionProvider: Provider<String> by rootProject.extra
create("IC", platformVersionProvider.get(), useInstaller = providers.gradleProperty("useInstaller").get().toBoolean())
bundledPlugins(providers.gradleProperty("coveragePlugin").get())
bundledModule("intellij.platform.coverage.agent")
}
}
1 change: 1 addition & 0 deletions plugin/profiler/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ dependencies {
intellijPlatform {
val platformVersionProvider: Provider<String> by rootProject.extra
create("IU", platformVersionProvider.get(), useInstaller = properties("useInstaller").get().toBoolean())
bundledModule("intellij.profiler.common")
}
}

0 comments on commit c92a71a

Please sign in to comment.