Disable ScriptingGradleSubplugin if applied in the gradle prior to 5.0

Allows to avoid limiting scripting infrastructure to languageVersion 1.2,
since kotlin compiler 1.3+ is bundled with gradle only starting from 5.0
This commit is contained in:
Ilya Chernikov
2019-04-12 18:02:29 +02:00
parent 72736d78e4
commit 7c4efb2772
3 changed files with 57 additions and 29 deletions
@@ -17,7 +17,6 @@ dependencies {
compile(project(":kotlin-scripting-compiler-impl"))
compile(kotlinStdlib())
compileOnly(project(":kotlin-reflect-api"))
compile(commonDep("org.jetbrains.kotlinx", "kotlinx-coroutines-core")) { isTransitive = false }
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
testCompile(project(":compiler:frontend"))