Browse Source

Disable desktop modules publishing with open-expect-lite mode AndroidX

igushkin/publishing-experiments
Sergey Igushkin 3 years ago
parent
commit
93ca145b0a
No known key found for this signature in database
GPG Key ID: C75E2354A7D0CB08
  1. 6
      compose/build.gradle.kts

6
compose/build.gradle.kts

@ -12,6 +12,7 @@ tasks.register("publishComposeJb") {
dependsOnComposeTask(":compose:compiler:compiler-hosted:publishMavenPublicationToMavenRepository")
dependsOnComposeTask(":compose:ui:ui-tooling-data:publishMavenPublicationToMavenRepository")
if (findProperty("androidx.compose.openExpectLiteMode") != "androidx") {
dependsOnComposeTask(":compose:desktop:desktop:publishKotlinMultiplatformPublicationToMavenRepository")
dependsOnComposeTask(":compose:desktop:desktop:publishJvmPublicationToMavenRepository")
dependsOnComposeTask(":compose:desktop:desktop:publishJvmlinux-x64PublicationToMavenRepository")
@ -19,6 +20,7 @@ tasks.register("publishComposeJb") {
dependsOnComposeTask(":compose:desktop:desktop:publishJvmmacos-x64PublicationToMavenRepository")
dependsOnComposeTask(":compose:desktop:desktop:publishJvmmacos-arm64PublicationToMavenRepository")
dependsOnComposeTask(":compose:desktop:desktop:publishJvmwindows-x64PublicationToMavenRepository")
}
listOf(
":compose:animation:animation",
@ -42,10 +44,14 @@ tasks.register("publishComposeJb") {
":compose:ui:ui-util",
).forEach {
dependsOnComposeTask("$it:publishKotlinMultiplatformPublicationToMavenRepository")
if (findProperty("androidx.compose.openExpectLiteMode") != "androidx") {
dependsOnComposeTask("$it:publishDesktopPublicationToMavenRepository")
}
if (findProperty("androidx.compose.openExpectLiteMode") != "org_jetbrains") {
dependsOnComposeTask("$it:publishAndroidDebugPublicationToMavenRepository")
dependsOnComposeTask("$it:publishAndroidReleasePublicationToMavenRepository")
}
}
listOf(
":compose:runtime:runtime",

Loading…
Cancel
Save