Build: Fix deprecated Gradle configurations usages
for migration to Gradle 7+ #KTI-559
This commit is contained in:
@@ -4,14 +4,14 @@ plugins {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile(project(":examples:scripting-jvm-simple-script"))
|
||||
api(project(":examples:scripting-jvm-simple-script"))
|
||||
compileOnly(project(":kotlin-scripting-jvm-host-unshaded"))
|
||||
testRuntimeOnly(project(":kotlin-compiler-embeddable"))
|
||||
testRuntimeOnly(project(":kotlin-scripting-compiler-embeddable"))
|
||||
testRuntimeOnly(project(":kotlin-scripting-jvm-host"))
|
||||
testRuntimeOnly(project(":kotlin-reflect"))
|
||||
testRuntimeOnly(intellijDep()) { includeJars("guava", rootProject = rootProject) }
|
||||
testCompile(commonDep("junit"))
|
||||
testApi(commonDep("junit"))
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
@@ -4,9 +4,9 @@ plugins {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile(project(":examples:scripting-jvm-maven-deps"))
|
||||
compile(project(":kotlin-scripting-jvm-host-unshaded"))
|
||||
compile(kotlinStdlib())
|
||||
api(project(":examples:scripting-jvm-maven-deps"))
|
||||
api(project(":kotlin-scripting-jvm-host-unshaded"))
|
||||
api(kotlinStdlib())
|
||||
compileOnly(project(":kotlin-reflect-api"))
|
||||
compileOnly(project(":compiler:util"))
|
||||
|
||||
@@ -14,7 +14,7 @@ dependencies {
|
||||
testRuntimeOnly(project(":kotlin-reflect"))
|
||||
testRuntimeOnly(project(":kotlin-scripting-compiler"))
|
||||
|
||||
testCompile(commonDep("junit"))
|
||||
testApi(commonDep("junit"))
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
@@ -4,10 +4,10 @@ plugins {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile(project(":kotlin-scripting-jvm"))
|
||||
compile(project(":kotlin-scripting-dependencies"))
|
||||
compile(project(":kotlin-scripting-dependencies-maven"))
|
||||
compile(commonDep("org.jetbrains.kotlinx", "kotlinx-coroutines-core"))
|
||||
api(project(":kotlin-scripting-jvm"))
|
||||
api(project(":kotlin-scripting-dependencies"))
|
||||
api(project(":kotlin-scripting-dependencies-maven"))
|
||||
api(commonDep("org.jetbrains.kotlinx", "kotlinx-coroutines-core"))
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
@@ -4,13 +4,13 @@ plugins {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile(project(":examples:scripting-jvm-simple-script"))
|
||||
compile(project(":kotlin-scripting-jvm-host-unshaded"))
|
||||
compile(project(":kotlin-script-util"))
|
||||
api(project(":examples:scripting-jvm-simple-script"))
|
||||
api(project(":kotlin-scripting-jvm-host-unshaded"))
|
||||
api(project(":kotlin-script-util"))
|
||||
testRuntimeOnly(project(":kotlin-compiler"))
|
||||
testRuntimeOnly(project(":kotlin-scripting-compiler"))
|
||||
testRuntimeOnly(project(":kotlin-reflect"))
|
||||
testCompile(commonDep("junit"))
|
||||
testApi(commonDep("junit"))
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
@@ -4,7 +4,7 @@ plugins {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile(project(":kotlin-scripting-jvm"))
|
||||
api(project(":kotlin-scripting-jvm"))
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
Reference in New Issue
Block a user