plugins { kotlin("multiplatform") apply false } subprojects { version = findProperty("deploy.version") ?: property("compose.version")!! repositories { google() mavenCentral() maven("https://maven.pkg.jetbrains.space/public/p/compose/dev") } plugins.withId("java") { configureIfExists { sourceCompatibility = JavaVersion.VERSION_11 targetCompatibility = JavaVersion.VERSION_11 withJavadocJar() withSourcesJar() } } tasks.withType() { kotlinOptions.jvmTarget = "11" } plugins.withId("maven-publish") { configureIfExists { repositories { maven { name = "ComposeRepo" setUrl(System.getenv("COMPOSE_REPO_URL")) credentials { username = System.getenv("COMPOSE_REPO_USERNAME") password = System.getenv("COMPOSE_REPO_KEY") } } } } } }