Skip to content

Commit

Permalink
[gradle] Rename 'compose.resources.multimodule.enable, to 'org.jetbra…
Browse files Browse the repository at this point in the history
…ins.compose.resources.multimodule.enable'
  • Loading branch information
terrakok committed May 8, 2024
1 parent 33a5b20 commit 9a4990b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ internal object ComposeProperties {
internal const val MAC_NOTARIZATION_PASSWORD = "compose.desktop.mac.notarization.password"
internal const val MAC_NOTARIZATION_TEAM_ID_PROVIDER = "compose.desktop.mac.notarization.teamID"
internal const val CHECK_JDK_VENDOR = "compose.desktop.packaging.checkJdkVendor"
internal const val ENABLE_MULTIMODULE_RESOURCES = "compose.resources.multimodule.enable"
internal const val ENABLE_MULTIMODULE_RESOURCES = "org.jetbrains.compose.resources.multimodule.enable"
internal const val SYNC_RESOURCES_PROPERTY = "compose.ios.resources.sync"

fun isVerbose(providers: ProviderFactory): Provider<Boolean> =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ private fun Project.onKgpApplied(config: Provider<ResourcesExtension>, kgp: Kotl
logger.info(
"""
Multimodule Compose Resources are disabled by default.
To enable it add 'compose.resources.multimodule.enable=true' int the root gradle.properties file.
To enable it, add 'org.jetbrains.compose.resources.multimodule.enable=true' to the root gradle.properties file.
""".trimIndent()
)
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -334,12 +334,12 @@ class ResourcesTest : GradlePluginTestBase() {
testProject("misc/kmpResourcePublication", environment)
) {
file("gradle.properties").modify { content ->
content.replace("compose.resources.multimodule.enable=true", "")
content.replace("org.jetbrains.compose.resources.multimodule.enable=true", "")
}

gradle(":cmplib:build").checks {
check.logContains("Multimodule Compose Resources are disabled by default.")
check.logContains("To enable it add 'compose.resources.multimodule.enable=true' int the root gradle.properties file.")
check.logContains("To enable it, add 'org.jetbrains.compose.resources.multimodule.enable=true' to the root gradle.properties file.")
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ android.useAndroidX=true
org.jetbrains.compose.experimental.uikit.enabled=true
org.jetbrains.compose.experimental.jscanvas.enabled=true
org.jetbrains.compose.experimental.wasm.enabled=true
compose.resources.multimodule.enable=true
org.jetbrains.compose.resources.multimodule.enable=true

0 comments on commit 9a4990b

Please sign in to comment.