Build: Fix deprecated Gradle configurations usages
for migration to Gradle 7+ #KTI-559
This commit is contained in:
@@ -6,9 +6,9 @@ plugins {
|
||||
project.configureJvmToolchain(JdkMajorVersion.JDK_1_6)
|
||||
|
||||
dependencies {
|
||||
compile(project(":core:util.runtime"))
|
||||
compile(kotlinStdlib())
|
||||
compile(project(":kotlin-annotations-jvm"))
|
||||
api(project(":core:util.runtime"))
|
||||
api(kotlinStdlib())
|
||||
api(project(":kotlin-annotations-jvm"))
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
@@ -6,13 +6,13 @@ plugins {
|
||||
project.configureJvmToolchain(JdkMajorVersion.JDK_1_6)
|
||||
|
||||
dependencies {
|
||||
compile(project(":kotlin-annotations-jvm"))
|
||||
compile(project(":core:descriptors"))
|
||||
compile(project(":core:deserialization"))
|
||||
api(project(":kotlin-annotations-jvm"))
|
||||
api(project(":core:descriptors"))
|
||||
api(project(":core:deserialization"))
|
||||
api(project(":core:compiler.common.jvm"))
|
||||
api(project(":core:deserialization.common.jvm"))
|
||||
compile(project(":core:util.runtime"))
|
||||
compile(commonDep("javax.inject"))
|
||||
api(project(":core:util.runtime"))
|
||||
api(commonDep("javax.inject"))
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
@@ -22,8 +22,8 @@ dependencies {
|
||||
compileOnly(project(":core:descriptors"))
|
||||
compileOnly(project(":core:descriptors.jvm"))
|
||||
|
||||
testCompile(projectTests(":compiler:tests-common"))
|
||||
testCompile(projectTests(":generators:test-generator"))
|
||||
testApi(projectTests(":compiler:tests-common"))
|
||||
testApi(projectTests(":generators:test-generator"))
|
||||
|
||||
testRuntimeOnly(intellijCoreDep()) { includeJars("intellij-core") }
|
||||
testRuntimeOnly(intellijDep()) { includeJars("platform-concurrency") }
|
||||
|
||||
@@ -6,10 +6,10 @@ plugins {
|
||||
project.configureJvmToolchain(JdkMajorVersion.JDK_1_6)
|
||||
|
||||
dependencies {
|
||||
compile(project(":core:compiler.common"))
|
||||
compile(project(":core:util.runtime"))
|
||||
compile(kotlinStdlib())
|
||||
compile(project(":kotlin-annotations-jvm"))
|
||||
api(project(":core:compiler.common"))
|
||||
api(project(":core:util.runtime"))
|
||||
api(kotlinStdlib())
|
||||
api(project(":kotlin-annotations-jvm"))
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
@@ -6,11 +6,11 @@ plugins {
|
||||
project.configureJvmToolchain(JdkMajorVersion.JDK_1_6)
|
||||
|
||||
dependencies {
|
||||
compile(project(":core:metadata"))
|
||||
api(project(":core:metadata"))
|
||||
api(project(":core:deserialization.common"))
|
||||
compile(project(":core:util.runtime"))
|
||||
compile(project(":core:descriptors"))
|
||||
compile(commonDep("javax.inject"))
|
||||
api(project(":core:util.runtime"))
|
||||
api(project(":core:descriptors"))
|
||||
api(commonDep("javax.inject"))
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
@@ -6,8 +6,8 @@ plugins {
|
||||
project.configureJvmToolchain(JdkMajorVersion.JDK_1_6)
|
||||
|
||||
dependencies {
|
||||
compile(protobufLite())
|
||||
compile(kotlinStdlib())
|
||||
api(protobufLite())
|
||||
api(kotlinStdlib())
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
Reference in New Issue
Block a user