ursus
01/25/2025, 7:34 PMUuid
, I see its in the stdlib
.. do I explicitly need to include the gradle artifact? Isn't applying kotlin jvm
plugin enough? I though that one includes the standard library
(I'm seeing the newish Base64
just fine)hfhbd
01/25/2025, 9:19 PMursus
01/25/2025, 9:20 PMhfhbd
01/25/2025, 9:26 PMursus
01/25/2025, 10:10 PMDaniel Pitts
01/25/2025, 10:33 PMursus
01/25/2025, 10:36 PMplugins.withType(com.android.build.gradle.BasePlugin).configureEach { plugin ->
project.extensions.getByName("android").compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
}
tasks.withType(JavaCompile).configureEach { task ->
task.sourceCompatibility = JavaVersion.VERSION_17
task.targetCompatibility = JavaVersion.VERSION_17
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach { task ->
task.kotlinOptions {
jvmTarget = "17"
freeCompilerArgs += [
"-opt-in=kotlin.ExperimentalStdlibApi",
"-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi"
]
}
}
Daniel Pitts
01/25/2025, 10:38 PMursus
01/25/2025, 10:39 PMursus
01/25/2025, 11:17 PMUuid
available and it stopped working. Thanks for the hints!