Updated on 2026-08-14
This commit is contained in:
parent
dee402f968
commit
133dd14ec9
25 changed files with 215 additions and 103 deletions
|
|
@ -9,8 +9,8 @@ repositories {
|
|||
}
|
||||
|
||||
configure<JavaPluginExtension> {
|
||||
sourceCompatibility = JavaVersion.VERSION_11
|
||||
targetCompatibility = JavaVersion.VERSION_11
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
|
|||
|
|
@ -47,6 +47,6 @@ private fun Project.configureDetektTask() {
|
|||
}
|
||||
}
|
||||
|
||||
jvmTarget = "11"
|
||||
jvmTarget = "17"
|
||||
}
|
||||
}
|
||||
|
|
@ -7,7 +7,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|||
internal fun Project.configureKotlinCompilerOptions() {
|
||||
project.tasks.withType<KotlinCompile> {
|
||||
kotlinOptions {
|
||||
jvmTarget = "11"
|
||||
jvmTarget = "17"
|
||||
allWarningsAsErrors = false
|
||||
// this is required to produce a unique META-INF/*.kotlin_module files
|
||||
moduleName = project.path.removePrefix(":").replace(':', '-')
|
||||
|
|
|
|||
|
|
@ -12,8 +12,8 @@ internal fun BaseExtension.configureCompileSdk() {
|
|||
|
||||
internal fun BaseExtension.configureCompilerOptions() {
|
||||
compileOptions {
|
||||
sourceCompatibility = JavaVersion.VERSION_11
|
||||
targetCompatibility = JavaVersion.VERSION_11
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue