Skip to content

Commit 2aa0519

Browse files
jamesarichclaude
andcommitted
fix(flatpak): bump arm64 compose-desktop offline source to 1.11.1
build-flatpak(aarch64) failed: 'No cached version of org.jetbrains.compose.desktop:desktop-jvm-linux-arm64:1.11.1 available for offline mode'. The flatpak-sources generator hardcoded desktop-jvm-{platform}:1.11.0 but compose-multiplatform is 1.11.1, so the arm64 offline build couldn't resolve it (x86_64 resolved 1.11.1 naturally on the generation host). skiko 0.144.6 is correct per desktop-jvm-linux-arm64:1.11.1's POM. Pre-existing (main has the same hardcode); surfaced now because build-flatpak only runs on main-targeting PRs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 2c6ede1 commit 2aa0519

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

build.gradle.kts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,13 @@ plugins.withId("org.meshtastic.flatpak.sources") {
4545
extensions.configure<org.meshtastic.flatpak.sources.FlatpakSourcesExtension> {
4646
outputFile.set(layout.buildDirectory.file("flatpak-sources.json"))
4747
mustRunAfterTasks.set(listOf(":desktopApp:assemble", ":desktopApp:packageUberJarForCurrentOS"))
48-
// Force-resolve platform-specific native artifacts not resolved on the generation host
48+
// Force-resolve platform-specific native artifacts not resolved on the generation host.
49+
// The compose-desktop version MUST track the compose-multiplatform catalog version, else the
50+
// arm64 offline flatpak build fails to resolve desktop-jvm-linux-arm64 (skiko version per its POM).
4951
targetPlatforms.set(setOf("linux-x64", "linux-arm64"))
5052
platformDependencies.set(setOf(
5153
"org.jetbrains.skiko:skiko-awt-runtime-{platform}:0.144.6",
52-
"org.jetbrains.compose.desktop:desktop-jvm-{platform}:1.11.0",
54+
"org.jetbrains.compose.desktop:desktop-jvm-{platform}:1.11.1",
5355
))
5456
}
5557
}

0 commit comments

Comments
 (0)