mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-05-24 23:01:22 -04:00
ci: reduce flatpak source generation thrash (#5513)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -373,7 +373,7 @@ jobs:
|
||||
- name: Generate Flatpak Sources
|
||||
run: >
|
||||
./gradlew :build-logic:convention:flatpakGradleGenerator flatpakGradleGenerator
|
||||
--no-configuration-cache --refresh-dependencies --no-parallel
|
||||
--no-configuration-cache
|
||||
|
||||
- name: List Flatpak source files
|
||||
run: ls -R flatpak-sources-*.json
|
||||
|
||||
@@ -18,8 +18,6 @@
|
||||
pluginManagement {
|
||||
includeBuild("build-logic")
|
||||
repositories {
|
||||
mavenCentral()
|
||||
gradlePluginPortal()
|
||||
google {
|
||||
content {
|
||||
includeGroupByRegex("com\\.android.*")
|
||||
@@ -27,6 +25,8 @@ pluginManagement {
|
||||
includeGroupByRegex("androidx.*")
|
||||
}
|
||||
}
|
||||
mavenCentral()
|
||||
gradlePluginPortal()
|
||||
maven { url = uri("./offline-repository") }
|
||||
}
|
||||
}
|
||||
@@ -43,7 +43,6 @@ dependencyResolutionManagement {
|
||||
repositories {
|
||||
// Only enable mavenLocal for local JitPack testing; never in CI.
|
||||
if (providers.gradleProperty("useMavenLocal").isPresent) mavenLocal()
|
||||
mavenCentral()
|
||||
google {
|
||||
content {
|
||||
includeGroupByRegex("com\\.android.*")
|
||||
@@ -51,6 +50,7 @@ dependencyResolutionManagement {
|
||||
includeGroupByRegex("androidx.*")
|
||||
}
|
||||
}
|
||||
mavenCentral()
|
||||
maven {
|
||||
url = uri("https://central.sonatype.com/repository/maven-snapshots/")
|
||||
mavenContent { snapshotsOnly() }
|
||||
|
||||
Reference in New Issue
Block a user