Skip to content

Commit 628023c

Browse files
jimexistfishy
authored andcommitted
fix gradle format
1 parent fd60a9a commit 628023c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/kotlin/build.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ kotlin {
4040
}
4141
}
4242

43-
tasks.withType<KotlinCompile> {
43+
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
4444
kotlinOptions.jvmTarget = "1.8"
4545
}
4646

@@ -57,7 +57,7 @@ tasks {
5757

5858
task<Exec>("compileThrift") {
5959
val thriftBin = if (hasProperty("thrift.compiler")) {
60-
file(property("thrift.compiler"))
60+
file(property("thrift.compiler")!!)
6161
} else {
6262
project.rootDir.resolve("../../compiler/cpp/thrift")
6363
}

lib/kotlin/cross-test-client/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ tasks {
7070

7171
task<Exec>("compileThrift") {
7272
val thriftBin = if (hasProperty("thrift.compiler")) {
73-
file(property("thrift.compiler"))
73+
file(property("thrift.compiler")!!)
7474
} else {
7575
project.rootDir.resolve("../../compiler/cpp/thrift")
7676
}

lib/kotlin/settings.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919
pluginManagement {
2020
plugins {
21-
kotlin("jvm") version "1.8.21"
21+
kotlin("jvm") version "1.8.22"
2222
id("com.ncorti.ktfmt.gradle") version "0.12.0"
2323
}
2424
}

0 commit comments

Comments
 (0)