|
|
@ -33,8 +33,8 @@ val shadowJar = tasks.named("shadowJar", ShadowJar::class) { |
|
|
|
archiveFileName.set("compose-full.jar") |
|
|
|
archiveFileName.set("compose-full.jar") |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
tasks.register("publishToSpace") { |
|
|
|
tasks.register("publishToComposeRepo") { |
|
|
|
dependsOn(tasks.named("publishAllPublicationsToSpaceRepository")) |
|
|
|
dependsOn(tasks.named("publishAllPublicationsToComposeRepoRepository")) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
publishing { |
|
|
|
publishing { |
|
|
@ -48,7 +48,7 @@ publishing { |
|
|
|
} |
|
|
|
} |
|
|
|
repositories { |
|
|
|
repositories { |
|
|
|
maven(properties.composeRepoUrl) { |
|
|
|
maven(properties.composeRepoUrl) { |
|
|
|
name = "Space" |
|
|
|
name = "ComposeRepo" |
|
|
|
authentication { |
|
|
|
authentication { |
|
|
|
credentials { |
|
|
|
credentials { |
|
|
|
username = properties.composeRepoUserName |
|
|
|
username = properties.composeRepoUserName |
|
|
@ -66,7 +66,8 @@ class ComposeUberJarProperties { |
|
|
|
val composeVersionFile: String? |
|
|
|
val composeVersionFile: String? |
|
|
|
get() = typedProperty<String>(COMPOSE_VERSION_FILE_PROPERTY) |
|
|
|
get() = typedProperty<String>(COMPOSE_VERSION_FILE_PROPERTY) |
|
|
|
|
|
|
|
|
|
|
|
val composeRepoUrl: String = "https://packages.jetbrains.team/maven/p/ui/dev" |
|
|
|
val composeRepoUrl: String |
|
|
|
|
|
|
|
get() = System.getenv("COMPOSE_REPO_URL") ?: "https://maven.pkg.jetbrains.space/public/p/compose/dev" |
|
|
|
|
|
|
|
|
|
|
|
val composeRepoUserName: String? |
|
|
|
val composeRepoUserName: String? |
|
|
|
get() = System.getenv("COMPOSE_REPO_USERNAME") |
|
|
|
get() = System.getenv("COMPOSE_REPO_USERNAME") |
|
|
|