Build: fix some warnings in buildSrc and build.gradle.kts
This commit is contained in:
committed by
Space Team
parent
89507c1b82
commit
c66bc36382
@@ -1,3 +1,5 @@
|
||||
import kotlin.io.path.createTempDirectory
|
||||
|
||||
plugins {
|
||||
kotlin("jvm")
|
||||
id("jps-compatible")
|
||||
@@ -26,7 +28,7 @@ val generateTests by generator("org.jetbrains.kotlin.generators.tests.GenerateJa
|
||||
val generateKotlinUseSiteFromJavaOnesForJspecifyTests by generator("org.jetbrains.kotlin.generators.tests.GenerateKotlinUseSitesFromJavaOnesForJspecifyTestsKt")
|
||||
|
||||
task<Exec>("downloadJspecifyTests") {
|
||||
val tmpDirPath = createTempDir().absolutePath
|
||||
val tmpDirPath = createTempDirectory().toAbsolutePath().toString()
|
||||
doFirst {
|
||||
executable("git")
|
||||
args("clone", "https://github.com/jspecify/jspecify/", tmpDirPath)
|
||||
|
||||
Reference in New Issue
Block a user