Build: Fix deprecated Gradle configurations usages

for migration to Gradle 7+ #KTI-559
This commit is contained in:
Vyacheslav Gerasimov
2021-07-07 00:27:29 +03:00
parent dbedff3c62
commit ab146bd6d4
158 changed files with 867 additions and 884 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ dependencies {
testImplementation(projectTests(":generators:test-generator"))
testRuntimeOnly(intellijDep()) { includeJars("intellij-deps-fastutil-8.4.1-4") }
testRuntimeOnly(compile(intellijDep()) { includeJars("jna", rootProject = rootProject) })
testRuntimeOnly(intellijDep()) { includeJars("jna", rootProject = rootProject) }
}
val generationRoot = projectDir.resolve("tests-gen")
+1 -1
View File
@@ -4,7 +4,7 @@ plugins {
}
dependencies {
compile(project(":compiler:frontend"))
api(project(":compiler:frontend"))
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
}
@@ -4,9 +4,9 @@ plugins {
}
dependencies {
compile(project(":compiler:fir:raw-fir:psi2fir"))
compile(project(":compiler:fir:resolve"))
compile(project(":compiler:visualizer:common"))
api(project(":compiler:fir:raw-fir:psi2fir"))
api(project(":compiler:fir:resolve"))
api(project(":compiler:visualizer:common"))
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
}
@@ -4,8 +4,8 @@ plugins {
}
dependencies {
compile(project(":compiler:visualizer:common"))
compile(intellijCoreDep()) { includeJars("intellij-core") }
api(project(":compiler:visualizer:common"))
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
}
sourceSets {