Fix rootDir mis-use in commonConfiguration.gradle:
replace with `kotlin_root`, that is set in the projects
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
buildscript {
|
||||
ext.kotlin_root = "$rootDir/.."
|
||||
apply from: 'versions.gradle'
|
||||
|
||||
repositories {
|
||||
|
||||
@@ -9,8 +9,8 @@ ext {
|
||||
JDK_16 = jdkPath("1.6")
|
||||
JDK_17 = jdkPath("1.7")
|
||||
JDK_18 = jdkPath("1.8")
|
||||
distDir = file("${rootDir}/../dist")
|
||||
distLibDir = file("${rootDir}/../dist/kotlinc/lib")
|
||||
distDir = file("$kotlin_root/dist")
|
||||
distLibDir = file("$kotlin_root/dist/kotlinc/lib")
|
||||
bootstrapCompilerFile = file("$distDir/kotlin-compiler-for-maven.jar")
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
buildscript {
|
||||
ext.kotlin_root = findProperty("kotlinRoot") ?: "${rootProject.projectDir}/../../.."
|
||||
ext.kotlin_root = "$rootDir/../../.."
|
||||
apply from: "${kotlin_root}/libraries/versions.gradle"
|
||||
|
||||
repositories {
|
||||
|
||||
Reference in New Issue
Block a user