[Build] Fix configuration cache issues (part 6)
Make DexMethodCountStats task class, tasks :examples:kotlin-jsr223-daemon-local-eval-example:test,:idea:idea-fir:test, :idea:idea-fir-performance-tests:test, :idea:idea-frontend-fir:test, :idea:idea-frontend-fir:idea-fir-low-level-api:test, :kotlin-compiler-client-embeddable:test, :kotlin-compiler-embeddable:test, :kotlin-stdlib-js-ir:compileTestKotlinJs, :plugins:android-extensions-compiler:test, :plugins:parcelize:parcelize-compiler:test, :compiler:test compatible with configuration cache Relates to #KT-44611
This commit is contained in:
@@ -40,10 +40,12 @@ sourceSets {
|
||||
}
|
||||
|
||||
projectTest {
|
||||
systemProperty("kotlin.test.script.classpath", testSourceSet.output.classesDirs.joinToString(File.pathSeparator))
|
||||
val testCompilerClasspathProvider = project.provider { testCompilerClasspath.asPath }
|
||||
val testCompilationClasspathProvider = project.provider { testCompilationClasspath.asPath }
|
||||
doFirst {
|
||||
systemProperty("kotlin.test.script.classpath", testSourceSet.output.classesDirs.joinToString(File.pathSeparator))
|
||||
systemProperty("compilerClasspath", testCompilerClasspath.asPath)
|
||||
systemProperty("compilationClasspath", testCompilationClasspath.asPath)
|
||||
systemProperty("compilerClasspath", testCompilerClasspathProvider.get())
|
||||
systemProperty("compilationClasspath", testCompilationClasspathProvider.get())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user