diff --git a/build.gradle.kts b/build.gradle.kts index 5b8926f480..44d54eb3f0 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -93,14 +93,20 @@ allprojects { dependencies { intellijPlatform { - instrumentationTools() - testFramework(TestFrameworkType.Platform) + val platformToolsVersion = properties("platformToolsVersion") + if (platformToolsVersion.get().isEmpty()) { + instrumentationTools() + testFramework(TestFrameworkType.Platform) + } + else { + javaCompiler(platformToolsVersion) + testFramework(TestFrameworkType.Platform, version = platformToolsVersion) + } jetbrainsRuntime() } testImplementation("org.opentest4j:opentest4j:1.3.0") } - tasks { withType { options.encoding = "UTF-8" diff --git a/gradle.properties b/gradle.properties index a1f0026ef1..02fc3a7dde 100644 --- a/gradle.properties +++ b/gradle.properties @@ -22,7 +22,8 @@ platformBranch=.2 platformBuild= pluginVersion= pluginBranch= -pluginBuild=.4 +pluginBuild= +platformToolsVersion=243-SNAPSHOT useInstaller=false pycharmVersion=192.4787.5-EAP-SNAPSHOT clionVersion=192.4787.12-EAP-SNAPSHOT