You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.1 KiB
42 lines
1.1 KiB
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<JavaPluginExtension> { |
|
sourceCompatibility = JavaVersion.VERSION_11 |
|
targetCompatibility = JavaVersion.VERSION_11 |
|
|
|
withJavadocJar() |
|
withSourcesJar() |
|
} |
|
} |
|
|
|
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>() { |
|
kotlinOptions.jvmTarget = "1.8" |
|
} |
|
|
|
plugins.withId("maven-publish") { |
|
configureIfExists<PublishingExtension> { |
|
repositories { |
|
maven { |
|
name = "ComposeRepo" |
|
setUrl(System.getenv("COMPOSE_REPO_URL")) |
|
credentials { |
|
username = System.getenv("COMPOSE_REPO_USERNAME") |
|
password = System.getenv("COMPOSE_REPO_KEY") |
|
} |
|
} |
|
} |
|
} |
|
} |
|
} |