mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-05-24 23:01:22 -04:00
build: reorder Maven repos to reduce flatpak generator 404s (#5509)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -79,3 +79,6 @@ feature/docs/src/commonMain/composeResources/files/*/docs/
|
||||
/.specify/extensions/.cache/
|
||||
# Jekyll local config (comments out remote_theme for local builds)
|
||||
docs/_config_local.yml
|
||||
|
||||
# Flatpak source manifests (generated by flatpakGradleGenerator)
|
||||
flatpak-sources-*.json
|
||||
|
||||
@@ -17,9 +17,15 @@
|
||||
|
||||
pluginManagement {
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
gradlePluginPortal()
|
||||
google {
|
||||
content {
|
||||
includeGroupByRegex("com\\.android.*")
|
||||
includeGroupByRegex("com\\.google.*")
|
||||
includeGroupByRegex("androidx.*")
|
||||
}
|
||||
}
|
||||
maven { url = uri("../offline-repository") }
|
||||
}
|
||||
}
|
||||
@@ -31,6 +37,8 @@ plugins {
|
||||
|
||||
dependencyResolutionManagement {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
gradlePluginPortal()
|
||||
google {
|
||||
content {
|
||||
includeGroupByRegex("com\\.android.*")
|
||||
@@ -38,8 +46,6 @@ dependencyResolutionManagement {
|
||||
includeGroupByRegex("androidx.*")
|
||||
}
|
||||
}
|
||||
mavenCentral()
|
||||
gradlePluginPortal()
|
||||
maven { url = uri("../offline-repository") }
|
||||
}
|
||||
versionCatalogs {
|
||||
|
||||
@@ -18,9 +18,15 @@
|
||||
pluginManagement {
|
||||
includeBuild("build-logic")
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
gradlePluginPortal()
|
||||
google {
|
||||
content {
|
||||
includeGroupByRegex("com\\.android.*")
|
||||
includeGroupByRegex("com\\.google.*")
|
||||
includeGroupByRegex("androidx.*")
|
||||
}
|
||||
}
|
||||
maven { url = uri("./offline-repository") }
|
||||
}
|
||||
}
|
||||
@@ -37,6 +43,7 @@ dependencyResolutionManagement {
|
||||
repositories {
|
||||
// Only enable mavenLocal for local JitPack testing; never in CI.
|
||||
if (providers.gradleProperty("useMavenLocal").isPresent) mavenLocal()
|
||||
mavenCentral()
|
||||
google {
|
||||
content {
|
||||
includeGroupByRegex("com\\.android.*")
|
||||
@@ -44,7 +51,6 @@ dependencyResolutionManagement {
|
||||
includeGroupByRegex("androidx.*")
|
||||
}
|
||||
}
|
||||
mavenCentral()
|
||||
maven {
|
||||
url = uri("https://central.sonatype.com/repository/maven-snapshots/")
|
||||
mavenContent { snapshotsOnly() }
|
||||
|
||||
Reference in New Issue
Block a user