Unify kotlinCompilerClasspath for all projects
This will prevent spawning second Kotlin daemon during compilation
except 'buildSrc' compilation. Original change was introduced in
2e515f3945 commit.
This commit is contained in:
@@ -7,7 +7,6 @@ JvmToolchain.updateJvmTarget(project, "1.6")
|
||||
dependencies {
|
||||
api kotlinStdlib("common")
|
||||
testApi project(":kotlin-test:kotlin-test-annotations-common")
|
||||
kotlinCompilerClasspath project(':libraries:tools:stdlib-compiler-classpath')
|
||||
}
|
||||
|
||||
jar {
|
||||
|
||||
@@ -16,7 +16,6 @@ dependencies {
|
||||
expectedBy project(':kotlin-test:kotlin-test-annotations-common')
|
||||
api project(':kotlin-test:kotlin-test-jvm')
|
||||
api('junit:junit:4.13.2')
|
||||
kotlinCompilerClasspath(project(':libraries:tools:stdlib-compiler-classpath'))
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -19,7 +19,6 @@ dependencies {
|
||||
api(kotlinStdlib())
|
||||
testApi(project(":kotlin-test:kotlin-test-junit"))
|
||||
testApi('junit:junit:4.13.2')
|
||||
kotlinCompilerClasspath(project(':libraries:tools:stdlib-compiler-classpath'))
|
||||
}
|
||||
|
||||
jar {
|
||||
|
||||
@@ -20,7 +20,6 @@ dependencies {
|
||||
if (includeJava9) {
|
||||
java9CompileOnly('org.testng:testng:7.0.0')
|
||||
}
|
||||
kotlinCompilerClasspath project(':libraries:tools:stdlib-compiler-classpath')
|
||||
}
|
||||
|
||||
jar {
|
||||
|
||||
@@ -29,7 +29,6 @@ dependencies {
|
||||
compileOnly project(':core:descriptors.runtime')
|
||||
compileOnly project(':core:util.runtime')
|
||||
compileOnly "org.jetbrains:annotations:13.0"
|
||||
kotlinCompilerClasspath project(':libraries:tools:stdlib-compiler-classpath')
|
||||
}
|
||||
|
||||
if (includeJava9) {
|
||||
|
||||
@@ -9,7 +9,6 @@ dependencies {
|
||||
api(kotlinStdlib())
|
||||
compileOnly(project(":kotlin-reflect-api"))
|
||||
testApi(commonDependency("junit"))
|
||||
kotlinCompilerClasspath(project(":libraries:tools:stdlib-compiler-classpath"))
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
@@ -21,7 +21,6 @@ dependencies {
|
||||
testRuntimeOnly("org.slf4j:slf4j-nop:1.7.36")
|
||||
testImplementation(kotlin("reflect"))
|
||||
testImplementation(commonDependency("org.jetbrains.kotlinx", "kotlinx-coroutines-core"))
|
||||
kotlinCompilerClasspath(project(":libraries:tools:stdlib-compiler-classpath"))
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
@@ -10,7 +10,6 @@ dependencies {
|
||||
api(project(":kotlin-scripting-common"))
|
||||
testApi(commonDependency("junit"))
|
||||
testImplementation(commonDependency("org.jetbrains.kotlinx", "kotlinx-coroutines-core"))
|
||||
kotlinCompilerClasspath(project(":libraries:tools:stdlib-compiler-classpath"))
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
@@ -10,7 +10,6 @@ dependencies {
|
||||
api(kotlinStdlib())
|
||||
api(project(":kotlin-scripting-common"))
|
||||
testApi(commonDependency("junit"))
|
||||
kotlinCompilerClasspath(project(":libraries:tools:stdlib-compiler-classpath"))
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
@@ -44,7 +44,6 @@ configurations {
|
||||
dependencies {
|
||||
api project(':kotlin-stdlib')
|
||||
testApi project(':kotlin-test:kotlin-test-junit')
|
||||
kotlinCompilerClasspath project(':libraries:tools:stdlib-compiler-classpath')
|
||||
}
|
||||
|
||||
jar {
|
||||
|
||||
@@ -20,7 +20,6 @@ val builtins by configurations.creating {
|
||||
dependencies {
|
||||
compileOnly(project(":kotlin-stdlib"))
|
||||
builtins(project(":core:builtins"))
|
||||
kotlinCompilerClasspath(project(":libraries:tools:stdlib-compiler-classpath"))
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
@@ -63,8 +63,6 @@ dependencies {
|
||||
testApi project(':kotlin-test:kotlin-test-junit')
|
||||
|
||||
builtins project(':core:builtins')
|
||||
|
||||
kotlinCompilerClasspath project(':libraries:tools:stdlib-compiler-classpath')
|
||||
}
|
||||
|
||||
jar {
|
||||
|
||||
@@ -16,7 +16,6 @@ sourceSets {
|
||||
|
||||
dependencies {
|
||||
compileOnly DependenciesKt.kotlinBuiltins(project)
|
||||
kotlinCompilerClasspath project(':libraries:tools:stdlib-compiler-classpath')
|
||||
}
|
||||
|
||||
configureSourcesJar()
|
||||
|
||||
@@ -8,7 +8,6 @@ configurePublishing(project)
|
||||
|
||||
dependencies {
|
||||
compileOnly kotlinStdlib()
|
||||
kotlinCompilerClasspath project(':libraries:tools:stdlib-compiler-classpath')
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
Reference in New Issue
Block a user