mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-06 10:25:18 +00:00
fix gradle format
This commit is contained in:
parent
fd60a9a3a1
commit
628023c273
@ -40,7 +40,7 @@ kotlin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType<KotlinCompile> {
|
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
||||||
kotlinOptions.jvmTarget = "1.8"
|
kotlinOptions.jvmTarget = "1.8"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -57,7 +57,7 @@ tasks {
|
|||||||
|
|
||||||
task<Exec>("compileThrift") {
|
task<Exec>("compileThrift") {
|
||||||
val thriftBin = if (hasProperty("thrift.compiler")) {
|
val thriftBin = if (hasProperty("thrift.compiler")) {
|
||||||
file(property("thrift.compiler"))
|
file(property("thrift.compiler")!!)
|
||||||
} else {
|
} else {
|
||||||
project.rootDir.resolve("../../compiler/cpp/thrift")
|
project.rootDir.resolve("../../compiler/cpp/thrift")
|
||||||
}
|
}
|
||||||
|
@ -70,7 +70,7 @@ tasks {
|
|||||||
|
|
||||||
task<Exec>("compileThrift") {
|
task<Exec>("compileThrift") {
|
||||||
val thriftBin = if (hasProperty("thrift.compiler")) {
|
val thriftBin = if (hasProperty("thrift.compiler")) {
|
||||||
file(property("thrift.compiler"))
|
file(property("thrift.compiler")!!)
|
||||||
} else {
|
} else {
|
||||||
project.rootDir.resolve("../../compiler/cpp/thrift")
|
project.rootDir.resolve("../../compiler/cpp/thrift")
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
*/
|
*/
|
||||||
pluginManagement {
|
pluginManagement {
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm") version "1.8.21"
|
kotlin("jvm") version "1.8.22"
|
||||||
id("com.ncorti.ktfmt.gradle") version "0.12.0"
|
id("com.ncorti.ktfmt.gradle") version "0.12.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user