Closed ccjernigan closed 1 month ago
Hello, thank you for submitting the issue. I'll pass it on to the team.
This happens due to the current realization of the implementation(compose.desktop.currentOs)
As a temporary workaround, I suggest adding required targets explicitly (instead of using just currentOs):
if (System.getPropery("bundle.all.targets") == "true") {
implementation(compose.desktop.linux_x64)
implementation(compose.desktop.linux_arm64)
implementation(compose.desktop.windows_x64)
implementation(compose.desktop.macos_x64)
implementation(compose.desktop.macos_arm64)
} else {
implementation(compose.desktop.currentOs)
}
Then, lock dependencies:
gradlew dependencies --write-locks -Dbundle.all.targets=true
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
Describe the bug When I generate locks on my Mac desktop, they have the suffix macos-arm64. But on GitHub Actions the suffix would be linux-x64.
Affected platforms Select one of the platforms below:
Versions
To Reproduce
Locking fails because of
org.jetbrains.compose.desktop:desktop-jvm-macos-arm64:1.6.0-beta01=allSourceSetsCompileDependenciesMetadata,commonTestApiDependenciesMetadata,commonTestCompileOnlyDependenciesMetadata,commonTestImplementationDependenciesMetadata,commonTestResolvableDependenciesMetadata,compileClasspath,jvmCompileClasspath,jvmMainApiDependenciesMetadata,jvmMainCompileOnlyDependenciesMetadata,jvmMainImplementationDependenciesMetadata,jvmMainResolvableDependenciesMetadata,jvmRuntimeClasspath,jvmTestApiDependenciesMetadata,jvmTestCompileClasspath,jvmTestCompileOnlyDependenciesMetadata,jvmTestImplementationDependenciesMetadata,jvmTestResolvableDependenciesMetadata,jvmTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
versus
org.jetbrains.compose.desktop:desktop-jvm-linux-x64:1.6.0-beta01=allSourceSetsCompileDependenciesMetadata,commonTestApiDependenciesMetadata,commonTestCompileOnlyDependenciesMetadata,commonTestImplementationDependenciesMetadata,commonTestResolvableDependenciesMetadata,compileClasspath,jvmCompileClasspath,jvmMainApiDependenciesMetadata,jvmMainCompileOnlyDependenciesMetadata,jvmMainImplementationDependenciesMetadata,jvmMainResolvableDependenciesMetadata,jvmRuntimeClasspath,jvmTestApiDependenciesMetadata,jvmTestCompileClasspath,jvmTestCompileOnlyDependenciesMetadata,jvmTestImplementationDependenciesMetadata,jvmTestResolvableDependenciesMetadata,jvmTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath