Signal-Android/build-logic/build.gradle.kts

22 lines
527 B
Text
Raw Normal View History

2023-03-31 14:05:25 -04:00
buildscript {
val kotlinVersion by extra("1.8.10")
2023-03-31 14:05:25 -04:00
repositories {
google()
mavenCentral()
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
}
}
allprojects {
// Needed because otherwise the kapt task defaults to jvmTarget 17, which "poisons the well" and requires us to bump up too
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
kotlinOptions {
jvmTarget = "11"
}
}
}