[Build] Fix configuration cache issue with :repo:artifacts-tests:test
^KTI-1473 In Progress
This commit is contained in:
committed by
Space Team
parent
f915efab18
commit
1dc76f0b94
@@ -16,10 +16,11 @@ dependencies {
|
|||||||
projectTest(jUnitMode = JUnitMode.JUnit5) {
|
projectTest(jUnitMode = JUnitMode.JUnit5) {
|
||||||
workingDir = rootDir
|
workingDir = rootDir
|
||||||
useJUnitPlatform { }
|
useJUnitPlatform { }
|
||||||
|
val kotlinVersion = version
|
||||||
doFirst {
|
doFirst {
|
||||||
val defaultMavenLocal = Paths.get(System.getProperty("user.home"), ".m2", "repository").toAbsolutePath()
|
val defaultMavenLocal = Paths.get(System.getProperty("user.home"), ".m2", "repository").toAbsolutePath()
|
||||||
val mavenLocal = System.getProperty("maven.repo.local") ?: defaultMavenLocal
|
val mavenLocal = System.getProperty("maven.repo.local") ?: defaultMavenLocal
|
||||||
systemProperty("maven.repo.local", mavenLocal)
|
systemProperty("maven.repo.local", mavenLocal)
|
||||||
systemProperty("kotlin.version", version)
|
systemProperty("kotlin.version", kotlinVersion)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user