Skip to content

Commit 448b4cb

Browse files
committed
Fix: instrumentation compiler could not be found
- forcing gradle to download the one associated with latest IntelliJ release
1 parent 14d5980 commit 448b4cb

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

build.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ version = properties("pluginVersion")
2020
// Configure project's dependencies
2121
repositories {
2222
mavenCentral()
23+
maven(url = "https://www.jetbrains.com/intellij-repository/releases")
2324
}
2425

2526
// Configure Gradle IntelliJ Plugin - read more: https://github.com/JetBrains/gradle-intellij-plugin
@@ -56,6 +57,10 @@ tasks {
5657
gradleVersion = properties("gradleVersion")
5758
}
5859

60+
instrumentCode {
61+
compilerVersion.set(properties("instrumentationCompiler"))
62+
}
63+
5964
patchPluginXml {
6065
version.set(properties("pluginVersion"))
6166
sinceBuild.set(properties("pluginSinceBuild"))

gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ pluginVersion=1.0.0
99
pluginSinceBuild=213
1010
pluginUntilBuild=221.*
1111
# IntelliJ Platform Properties -> https://github.com/JetBrains/gradle-intellij-plugin#intellij-platform-properties
12-
# Gateway available build versions https://www.jetbrains.com/intellij-repository/snapshots
12+
# Gateway available build versions https://www.jetbrains.com/intellij-repository/snapshots and https://www.jetbrains.com/intellij-repository/releases
1313
platformType=GW
1414
platformVersion=221.5591.55-CUSTOM-SNAPSHOT
15+
instrumentationCompiler=221.5591.52
1516
platformDownloadSources=true
1617
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
1718
# Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22

0 commit comments

Comments
 (0)