Build: fix some warnings in buildSrc and build.gradle.kts

This commit is contained in:
Alexander Udalov
2023-06-23 16:22:38 +02:00
committed by Space Team
parent 89507c1b82
commit c66bc36382
14 changed files with 31 additions and 23 deletions
+3 -1
View File
@@ -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)