@ -22,7 +22,7 @@ subprojects {
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>() {
kotlinOptions.jvmTarget = "11"
kotlinOptions.jvmTarget = "1.8"
plugins.withId("maven-publish") {
@ -131,7 +131,7 @@ class ComposePlugin : Plugin<Project> {
project.tasks.withType(KotlinCompile::class.java) {
it.kotlinOptions.apply {
if (overrideDefaultJvmTarget) {
jvmTarget = "11".takeIf { jvmTarget.toDouble() < 11 } ?: jvmTarget
jvmTarget = "1.8".takeIf { jvmTarget.toDouble() < 1.8 } ?: jvmTarget
useIR = true
@ -52,12 +52,6 @@ subprojects {
pluginManager.withPlugin("maven-publish") {
configure<PublishingExtension> {
repositories {