chore(flatpak): optimize CI source generation and clean up redundant tasks (#5525)

This commit is contained in:
James Rich
2026-05-20 02:51:47 -07:00
committed by GitHub
parent 8de0a1f167
commit 7ae1b26813
13 changed files with 18 additions and 167 deletions
-19
View File
@@ -18,7 +18,6 @@
plugins {
alias(libs.plugins.meshtastic.kmp.library)
id("meshtastic.koin")
alias(libs.plugins.flatpak.gradle.generator)
}
kotlin {
@@ -46,21 +45,3 @@ kotlin {
}
}
}
tasks.flatpakGradleGenerator {
outputFile = file("../../flatpak-sources-core-ble.json")
downloadDirectory.set("./offline-repository")
excludeConfigurations.set(
listOf(
"androidRuntimeClasspath",
"androidCompileClasspath",
"androidMainLintChecksClasspath",
"androidHostTestCompileClasspath",
"androidHostTestLintChecksClasspath",
"androidHostTestRuntimeClasspath",
"kotlinNativeBundleConfiguration",
"testCompileClasspath",
"testRuntimeClasspath",
),
)
}
-16
View File
@@ -20,7 +20,6 @@ plugins {
alias(libs.plugins.kotlin.parcelize)
id("meshtastic.kmp.jvm.android")
id("meshtastic.koin")
alias(libs.plugins.flatpak.gradle.generator)
}
kotlin {
@@ -40,18 +39,3 @@ kotlin {
commonTest.dependencies { implementation(libs.kotlinx.coroutines.test) }
}
}
tasks.flatpakGradleGenerator {
outputFile = file("../../flatpak-sources-core-common.json")
downloadDirectory.set("./offline-repository")
excludeConfigurations.set(
listOf(
"androidHostTestCompileClasspath",
"androidHostTestLintChecksClasspath",
"androidHostTestRuntimeClasspath",
"kotlinNativeBundleConfiguration",
"testCompileClasspath",
"testRuntimeClasspath",
),
)
}
-22
View File
@@ -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,24 +77,3 @@ dependencies {
"kspAndroidHostTest"(libs.androidx.room.compiler)
"kspAndroidDeviceTest"(libs.androidx.room.compiler)
}
tasks.flatpakGradleGenerator {
outputFile = file("../../flatpak-sources-core-database.json")
downloadDirectory.set("./offline-repository")
excludeConfigurations.set(
listOf(
"androidRuntimeClasspath",
"androidMainLintChecksClasspath",
"androidHostTestRuntimeClasspath",
"androidHostTestLintChecksClasspath",
"androidHostTestCompileClasspath",
"androidDeviceTestRuntimeClasspath",
"androidDeviceTestLintChecksClasspath",
"androidDeviceTestCompileClasspath",
"androidCompileClasspath",
"kotlinNativeBundleConfiguration",
"testCompileClasspath",
"testRuntimeClasspath",
),
)
}
-22
View File
@@ -21,7 +21,6 @@ plugins {
alias(libs.plugins.kotlin.parcelize)
id("meshtastic.kmp.jvm.android")
id("meshtastic.publishing")
alias(libs.plugins.flatpak.gradle.generator)
}
kotlin {
@@ -70,24 +69,3 @@ publishing {
}
}
}
tasks.flatpakGradleGenerator {
outputFile = file("../../flatpak-sources-core-model.json")
downloadDirectory.set("./offline-repository")
excludeConfigurations.set(
listOf(
"androidRuntimeClasspath",
"androidMainLintChecksClasspath",
"androidHostTestRuntimeClasspath",
"androidHostTestLintChecksClasspath",
"androidHostTestCompileClasspath",
"androidDeviceTestRuntimeClasspath",
"androidDeviceTestLintChecksClasspath",
"androidDeviceTestCompileClasspath",
"androidCompileClasspath",
"kotlinNativeBundleConfiguration",
"testCompileClasspath",
"testRuntimeClasspath",
),
)
}
-22
View File
@@ -19,7 +19,6 @@ plugins {
alias(libs.plugins.meshtastic.kmp.library)
alias(libs.plugins.meshtastic.kmp.library.compose)
alias(libs.plugins.meshtastic.kotlinx.serialization)
alias(libs.plugins.flatpak.gradle.generator)
}
kotlin {
@@ -35,24 +34,3 @@ kotlin {
commonTest.dependencies { implementation(projects.core.testing) }
}
}
tasks.flatpakGradleGenerator {
outputFile = file("../../flatpak-sources-core-navigation.json")
downloadDirectory.set("./offline-repository")
excludeConfigurations.set(
listOf(
"androidRuntimeClasspath",
"androidMainLintChecksClasspath",
"androidHostTestRuntimeClasspath",
"androidHostTestLintChecksClasspath",
"androidHostTestCompileClasspath",
"androidDeviceTestRuntimeClasspath",
"androidDeviceTestLintChecksClasspath",
"androidDeviceTestCompileClasspath",
"androidCompileClasspath",
"kotlinNativeBundleConfiguration",
"testCompileClasspath",
"testRuntimeClasspath",
),
)
}
-13
View File
@@ -19,7 +19,6 @@ plugins {
alias(libs.plugins.meshtastic.kmp.library)
alias(libs.plugins.wire)
id("meshtastic.publishing")
alias(libs.plugins.flatpak.gradle.generator)
}
kotlin {
@@ -133,15 +132,3 @@ publishing {
}
}
}
tasks.flatpakGradleGenerator {
outputFile = file("../../flatpak-sources-core-proto.json")
downloadDirectory.set("./offline-repository")
excludeConfigurations.set(
listOf(
"kotlinNativeBundleConfiguration",
"testCompileClasspath",
"testRuntimeClasspath",
),
)
}