fix gradle format
diff --git a/lib/kotlin/build.gradle.kts b/lib/kotlin/build.gradle.kts
index cd52e7f..754df89 100644
--- a/lib/kotlin/build.gradle.kts
+++ b/lib/kotlin/build.gradle.kts
@@ -40,7 +40,7 @@
}
}
-tasks.withType<KotlinCompile> {
+tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
@@ -57,7 +57,7 @@
task<Exec>("compileThrift") {
val thriftBin = if (hasProperty("thrift.compiler")) {
- file(property("thrift.compiler"))
+ file(property("thrift.compiler")!!)
} else {
project.rootDir.resolve("../../compiler/cpp/thrift")
}
diff --git a/lib/kotlin/cross-test-client/build.gradle.kts b/lib/kotlin/cross-test-client/build.gradle.kts
index 579d01e..b370a40 100644
--- a/lib/kotlin/cross-test-client/build.gradle.kts
+++ b/lib/kotlin/cross-test-client/build.gradle.kts
@@ -70,7 +70,7 @@
task<Exec>("compileThrift") {
val thriftBin = if (hasProperty("thrift.compiler")) {
- file(property("thrift.compiler"))
+ file(property("thrift.compiler")!!)
} else {
project.rootDir.resolve("../../compiler/cpp/thrift")
}
diff --git a/lib/kotlin/settings.gradle.kts b/lib/kotlin/settings.gradle.kts
index 342fc3b..86fa02a 100644
--- a/lib/kotlin/settings.gradle.kts
+++ b/lib/kotlin/settings.gradle.kts
@@ -18,7 +18,7 @@
*/
pluginManagement {
plugins {
- kotlin("jvm") version "1.8.21"
+ kotlin("jvm") version "1.8.22"
id("com.ncorti.ktfmt.gradle") version "0.12.0"
}
}