fix gradle format

This commit is contained in:
Jiayu Liu 2023-07-05 08:32:55 +00:00 committed by Yuxuan 'fishy' Wang
parent fd60a9a3a1
commit 628023c273
3 changed files with 4 additions and 4 deletions

View File

@ -40,7 +40,7 @@ kotlin {
}
}
tasks.withType<KotlinCompile> {
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
@ -57,7 +57,7 @@ tasks {
task<Exec>("compileThrift") {
val thriftBin = if (hasProperty("thrift.compiler")) {
file(property("thrift.compiler"))
file(property("thrift.compiler")!!)
} else {
project.rootDir.resolve("../../compiler/cpp/thrift")
}

View File

@ -70,7 +70,7 @@ tasks {
task<Exec>("compileThrift") {
val thriftBin = if (hasProperty("thrift.compiler")) {
file(property("thrift.compiler"))
file(property("thrift.compiler")!!)
} else {
project.rootDir.resolve("../../compiler/cpp/thrift")
}

View File

@ -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"
}
}