ci: reduce flatpak source generation thrash (#5513)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
James Rich
2026-05-19 16:11:13 -07:00
committed by GitHub
parent 5c3b22584e
commit 3f64b5a0ec
2 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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() }