ci(release): route dead jcenter deps to mavenCentral; v0.1.6 (+8)
Some checks failed
ci / test-commons-core (push) Successful in 1m3s
ci / analyze (push) Successful in 2m2s
ci / test-app-seeds (push) Successful in 10m51s
release / android (push) Failing after 17m23s

This commit is contained in:
vjrj 2026-07-19 07:09:07 +02:00
parent bbd8d3580f
commit 654ed1fe68
2 changed files with 16 additions and 1 deletions

View file

@ -47,6 +47,21 @@ jobs:
dart run slang
dart run build_runner build --delete-conflicting-outputs
- name: Work around dead jcenter (route to mavenCentral)
run: |
# jcenter (bintray) is shut down; old transitive deps (e.g. flutter_tesseract_ocr
# -> AGP 7.1.2 -> apkzlib -> jsr305:1.3.9) still point there and fail to resolve.
# Inject mavenCentral/google globally so the SAME artifacts resolve from a live
# host — identical jars, so build bytes (and F-Droid reproducibility) are unchanged.
mkdir -p "$HOME/.gradle"
cat > "$HOME/.gradle/init.gradle" <<'EOF'
allprojects {
buildscript { repositories { google(); mavenCentral() } }
repositories { google(); mavenCentral() }
}
settingsEvaluated { s -> s.pluginManagement { repositories { google(); mavenCentral(); gradlePluginPortal() } } }
EOF
- name: Materialize signing material from secrets
working-directory: apps/app_seeds
env:

View file

@ -1,7 +1,7 @@
name: tane
description: "Tane — local-first, encrypted, decentralized traditional-seed inventory and market."
publish_to: 'none'
version: 0.1.5+7
version: 0.1.6+8
environment:
sdk: ^3.11.5