Build: Fix deprecated Gradle configurations usages
for migration to Gradle 7+ #KTI-559
This commit is contained in:
@@ -4,8 +4,8 @@ plugins {
|
||||
}
|
||||
|
||||
val allTestsRuntime by configurations.creating
|
||||
val testCompile by configurations
|
||||
testCompile.extendsFrom(allTestsRuntime)
|
||||
val testApi by configurations
|
||||
testApi.extendsFrom(allTestsRuntime)
|
||||
val embeddableTestRuntime by configurations.creating {
|
||||
extendsFrom(allTestsRuntime)
|
||||
}
|
||||
@@ -14,10 +14,10 @@ dependencies {
|
||||
allTestsRuntime(commonDep("junit"))
|
||||
allTestsRuntime(intellijCoreDep()) { includeJars("intellij-core") }
|
||||
allTestsRuntime(intellijDep()) { includeJars("idea", "idea_rt", "log4j", "jna") }
|
||||
testCompile(project(":kotlin-scripting-jvm-host-unshaded"))
|
||||
testCompile(projectTests(":compiler:tests-common"))
|
||||
testCompile(project(":kotlin-scripting-compiler"))
|
||||
testCompile(project(":daemon-common")) // TODO: fix import (workaround for jps build)
|
||||
testApi(project(":kotlin-scripting-jvm-host-unshaded"))
|
||||
testApi(projectTests(":compiler:tests-common"))
|
||||
testApi(project(":kotlin-scripting-compiler"))
|
||||
testApi(project(":daemon-common")) // TODO: fix import (workaround for jps build)
|
||||
testImplementation(commonDep("org.jetbrains.kotlinx", "kotlinx-coroutines-core"))
|
||||
|
||||
testRuntimeOnly(project(":kotlin-compiler"))
|
||||
|
||||
Reference in New Issue
Block a user