Skip to content

Commit

Permalink
fix gradle format
Browse files Browse the repository at this point in the history
  • Loading branch information
jimexist authored and Jens-G committed Jul 16, 2023
1 parent 8a5a440 commit a4e1136
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ kotlin {
}
}

tasks.withType<KotlinCompile> {
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}

Expand All @@ -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")
}
Expand Down
2 changes: 1 addition & 1 deletion lib/kotlin/cross-test-client/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down
2 changes: 1 addition & 1 deletion lib/kotlin/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
Expand Down

0 comments on commit a4e1136

Please sign in to comment.