Skip to content

Commit 961182c

Browse files
committed
Build: fix after intellij-platform-gradle-plugin update
1 parent 983a73b commit 961182c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

build.gradle.kts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import org.jetbrains.intellij.platform.gradle.tasks.VerifyPluginTask
44
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
55
import java.security.MessageDigest
66
import java.util.zip.ZipFile
7+
import kotlin.io.path.pathString
78

89
plugins {
910
id("java")
@@ -61,8 +62,11 @@ dependencies {
6162
intellijPlatform {
6263
intellijIdeaCommunity(libs.versions.intellij)
6364
bundledPlugins("org.intellij.intelliLang", "org.jetbrains.plugins.terminal")
64-
instrumentationTools()
65-
testFramework(TestFrameworkType.Bundled)
65+
bundledLibrary(provider {
66+
// TODO: This is a workaround, remove in intellij-platform-gradle-plugin 2.2.2
67+
project.intellijPlatform.platformPath.resolve("lib/testFramework.jar").pathString
68+
})
69+
testFramework(TestFrameworkType.Platform)
6670
pluginVerifier()
6771
}
6872

0 commit comments

Comments
 (0)