[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) {
|
||||
workingDir = rootDir
|
||||
useJUnitPlatform { }
|
||||
val kotlinVersion = version
|
||||
doFirst {
|
||||
val defaultMavenLocal = Paths.get(System.getProperty("user.home"), ".m2", "repository").toAbsolutePath()
|
||||
val mavenLocal = System.getProperty("maven.repo.local") ?: defaultMavenLocal
|
||||
systemProperty("maven.repo.local", mavenLocal)
|
||||
systemProperty("kotlin.version", version)
|
||||
systemProperty("kotlin.version", kotlinVersion)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user