Flatpak Sources Extension
Configuration extension for the org.meshtastic.flatpak.sources plugin.
flatpakSources {
outputFile.set(layout.buildDirectory.file("flatpak-sources.json"))
destPrefix.set("offline-repository")
mustRunAfterTasks.set(listOf(":app:assemble"))
generateMirrors.set(true)
excludeSuffixes.set(setOf("-sources.jar", "-javadoc.jar"))
}Properties
Name of the Gradle extension used to share captured URLs from the init script.
Destination path prefix inside the Flatpak sandbox (e.g., "offline-repository").
URL filename suffixes to exclude from the manifest (e.g., sources/javadoc jars).
Whether to generate Maven Central mirror URLs in the output.
Task paths that the capture task must run after (ensuring dependencies are resolved first).
Output file for the generated Flatpak sources JSON manifest.
Platform-specific dependencies to force-resolve for the target platforms. Each entry is a Maven coordinate template with {platform} placeholder: e.g., org.jetbrains.skiko:skiko-awt-runtime-{platform}:0.144.6
Platform targets whose native artifacts should be force-resolved during capture. Use for platform-specific dependencies not resolved on the generation host OS (e.g., building manifest on macOS but targeting a Linux Flatpak).