mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-06-02 06:24:16 +02:00
build(flatpak): overhaul offline source generation with native cache scanner (#5533)
This commit is contained in:
@@ -21,7 +21,6 @@ plugins {
|
||||
alias(libs.plugins.meshtastic.kotlinx.serialization)
|
||||
alias(libs.plugins.kotlin.parcelize)
|
||||
id("meshtastic.koin")
|
||||
alias(libs.plugins.flatpak.gradle.generator)
|
||||
}
|
||||
|
||||
kotlin {
|
||||
@@ -78,12 +77,3 @@ dependencies {
|
||||
"kspAndroidHostTest"(libs.androidx.room.compiler)
|
||||
"kspAndroidDeviceTest"(libs.androidx.room.compiler)
|
||||
}
|
||||
|
||||
// Only kspKotlinJvmProcessorClasspath is needed here — it captures Room compiler
|
||||
// and KSP processor deps that are module-scoped and invisible to desktopApp.
|
||||
// All other JVM deps are captured transitively by desktopApp's runtimeClasspath.
|
||||
tasks.flatpakGradleGenerator {
|
||||
outputFile = file("../../flatpak-sources-core-database.json")
|
||||
downloadDirectory.set("./offline-repository")
|
||||
includeConfigurations.set(setOf("kspKotlinJvmProcessorClasspath"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user