mirror of
https://github.com/Dasemu/NavFrame.git
synced 2026-11-26 23:26:09 +00:00
Compare commits
46
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f38f361c5b | ||
|
|
997816f2e4 | ||
|
|
31eea182b9 | ||
|
|
646a4a2a2a | ||
|
|
b7bf2c2b43 | ||
|
|
694fefd98b | ||
|
|
e5f4cfd8bd | ||
|
|
6a04c38a77 | ||
|
|
a7f7198fd3 | ||
|
|
b14c625263 | ||
|
|
196b7da8ea | ||
|
|
0ee1f621cf | ||
|
|
d5819d939c | ||
|
|
2977db39b6 | ||
|
|
6316c8854c | ||
|
|
b6eeb62929 | ||
|
|
20436c119f | ||
|
|
bca606170f | ||
|
|
4d0df9c0a2 | ||
|
|
21dc71a450 | ||
|
|
93a20d35d7 | ||
|
|
21023d229c | ||
|
|
bdd5b4f1ab | ||
|
|
1a14b3164d | ||
|
|
67c5ba684b | ||
|
|
bdb91c3d7a | ||
|
|
b109ea8633 | ||
|
|
d0ea978209 | ||
|
|
018cd3834e | ||
|
|
a9ff685bf0 | ||
|
|
4ffd4d874e | ||
|
|
27bc1f6958 | ||
|
|
317f8cbfaa | ||
|
|
cffdeb39c4 | ||
|
|
0ad42025b7 | ||
|
|
9f5d3963db | ||
|
|
e96e905b09 | ||
|
|
b5a7c67512 | ||
|
|
4b586cc3e2 | ||
|
|
470689573a | ||
|
|
d335a084d4 | ||
|
|
74b222a094 | ||
|
|
f727149369 | ||
|
|
008e4e3d80 | ||
|
|
6fec09f20f | ||
|
|
823d5db5d7 |
No files matched your search
@@ -1,13 +1,15 @@
|
||||
name: Android build and checks
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
branches: [main, development]
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
permissions:
|
||||
contents: read
|
||||
# Grouping by branch would drop pending builds during rapid pushes.
|
||||
concurrency:
|
||||
group: android-${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
group: android-${{ github.workflow }}-${{ github.run_id }}
|
||||
cancel-in-progress: false
|
||||
jobs:
|
||||
verify:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -23,15 +25,133 @@ jobs:
|
||||
run: sdkmanager "platforms;android-36" "build-tools;35.0.0"
|
||||
- uses: gradle/actions/setup-gradle@v4
|
||||
- name: Build, unit tests and lint
|
||||
run: ./gradlew --no-daemon :app:assembleDebug :app:testDebugUnitTest :app:lintDebug :core:test :navilite:testDebugUnitTest
|
||||
run: ./gradlew --no-daemon --max-workers=4 :app:assembleDebug :app:testDebugUnitTest :app:lintDebug :core:test :navilite:testDebugUnitTest
|
||||
- name: Preserve check reports
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: android-check-reports
|
||||
name: android-check-reports-${{ github.run_id }}
|
||||
path: |
|
||||
app/build/reports/
|
||||
core/build/reports/
|
||||
navilite/build/reports/
|
||||
if-no-files-found: ignore
|
||||
retention-days: 7
|
||||
- name: Upload development debug APK
|
||||
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/development'
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: navframe-debug-${{ github.sha }}
|
||||
path: app/build/outputs/apk/debug/app-debug.apk
|
||||
if-no-files-found: error
|
||||
retention-days: 14
|
||||
release:
|
||||
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
|
||||
needs: verify
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 45
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: '17'
|
||||
- uses: android-actions/setup-android@v4
|
||||
- name: Install Android compile SDK
|
||||
run: sdkmanager "platforms;android-36" "build-tools;35.0.0"
|
||||
- uses: gradle/actions/setup-gradle@v4
|
||||
- name: Restore production signing key
|
||||
env:
|
||||
ANDROID_RELEASE_KEYSTORE_BASE64: ${{ secrets.ANDROID_RELEASE_KEYSTORE_BASE64 }}
|
||||
ANDROID_RELEASE_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_RELEASE_KEYSTORE_PASSWORD }}
|
||||
ANDROID_RELEASE_KEY_ALIAS: ${{ secrets.ANDROID_RELEASE_KEY_ALIAS }}
|
||||
ANDROID_RELEASE_KEY_PASSWORD: ${{ secrets.ANDROID_RELEASE_KEY_PASSWORD }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
for name in ANDROID_RELEASE_KEYSTORE_BASE64 ANDROID_RELEASE_KEYSTORE_PASSWORD ANDROID_RELEASE_KEY_ALIAS ANDROID_RELEASE_KEY_PASSWORD; do
|
||||
if [[ -z "${!name}" ]]; then
|
||||
echo "::error::Missing production signing secret: $name (see docs/ANDROID_RELEASES.md)"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
umask 077
|
||||
printf '%s' "$ANDROID_RELEASE_KEYSTORE_BASE64" | base64 --decode > "$RUNNER_TEMP/navframe-release.p12"
|
||||
echo "NAVFRAME_KEYSTORE_PATH=$RUNNER_TEMP/navframe-release.p12" >> "$GITHUB_ENV"
|
||||
- name: Build signed production APK and lint
|
||||
env:
|
||||
NAVFRAME_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_RELEASE_KEYSTORE_PASSWORD }}
|
||||
NAVFRAME_KEY_ALIAS: ${{ secrets.ANDROID_RELEASE_KEY_ALIAS }}
|
||||
NAVFRAME_KEY_PASSWORD: ${{ secrets.ANDROID_RELEASE_KEY_PASSWORD }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
# Preserve numeric versionName for the diagnostic history schema.
|
||||
VERSION_CODE=$((1000000 + GITHUB_RUN_NUMBER))
|
||||
./gradlew --no-daemon --max-workers=4 :app:assembleRelease :app:lintRelease -PnavframeVersionCode="$VERSION_CODE"
|
||||
- name: Verify signature and prepare release files
|
||||
id: package
|
||||
run: |
|
||||
set -euo pipefail
|
||||
SDK_ROOT="${ANDROID_SDK_ROOT:-$ANDROID_HOME}"
|
||||
"$SDK_ROOT/build-tools/35.0.0/apksigner" verify --verbose app/build/outputs/apk/release/app-release.apk
|
||||
python3 - <<'PY'
|
||||
import json, os, pathlib, re, shutil, hashlib
|
||||
metadata = json.loads(pathlib.Path('app/build/outputs/apk/release/output-metadata.json').read_text())
|
||||
item = metadata['elements'][0]
|
||||
version = item['versionName']
|
||||
if not re.fullmatch(r'[0-9]+(?:\.[0-9]+){1,3}', version):
|
||||
raise SystemExit('Unexpected versionName')
|
||||
if item['versionCode'] != 1000000 + int(os.environ['GITHUB_RUN_NUMBER']):
|
||||
raise SystemExit('Unexpected production versionCode')
|
||||
tag = f"app-v{version}-build-{os.environ['GITHUB_RUN_NUMBER']}-{os.environ['GITHUB_SHA'][:12]}"
|
||||
folder = pathlib.Path(os.environ['RUNNER_TEMP']) / 'navframe-release-output'; folder.mkdir()
|
||||
apk = folder / f'navframe-{tag}.apk'
|
||||
shutil.copyfile('app/build/outputs/apk/release/app-release.apk', apk)
|
||||
(folder / 'SHA256SUMS.txt').write_text(f'{hashlib.sha256(apk.read_bytes()).hexdigest()} {apk.name}\n')
|
||||
(folder / 'build-info.json').write_text(json.dumps({'versionName': version, 'versionCode': item['versionCode'], 'commit': os.environ['GITHUB_SHA'], 'runNumber': int(os.environ['GITHUB_RUN_NUMBER'])}, indent=2) + '\n')
|
||||
with open(os.environ['GITHUB_OUTPUT'], 'a') as out:
|
||||
out.write(f'tag={tag}\nversion={version}\ndirectory={folder}\n')
|
||||
PY
|
||||
- name: Publish production release
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
RELEASE_TAG: ${{ steps.package.outputs.tag }}
|
||||
VERSION_NAME: ${{ steps.package.outputs.version }}
|
||||
RELEASE_DIRECTORY: ${{ steps.package.outputs.directory }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
# A rerun may finish its own draft but cannot replace published assets.
|
||||
if gh release view "$RELEASE_TAG" --json isDraft,targetCommitish > "$RUNNER_TEMP/existing-release.json" 2>/dev/null; then
|
||||
python3 - <<'PY'
|
||||
import json, os, pathlib
|
||||
release = json.loads(pathlib.Path(os.environ['RUNNER_TEMP'], 'existing-release.json').read_text())
|
||||
if release['targetCommitish'] != os.environ['GITHUB_SHA']:
|
||||
raise SystemExit('Existing release targets another commit')
|
||||
PY
|
||||
if [[ "$(python3 -c 'import json,os,pathlib; print(str(json.loads(pathlib.Path(os.environ["RUNNER_TEMP"], "existing-release.json").read_text())["isDraft"]).lower())')" == false ]]; then
|
||||
echo "Production release already published; preserving its assets."
|
||||
exit 0
|
||||
fi
|
||||
gh release upload "$RELEASE_TAG" "$RELEASE_DIRECTORY"/* --clobber
|
||||
else
|
||||
printf 'Signed production APK for commit %s.\n\nVersion code: %s. Checksums and build metadata are attached.\n' "$GITHUB_SHA" "$((1000000 + GITHUB_RUN_NUMBER))" > "$RUNNER_TEMP/release-notes.md"
|
||||
gh release create "$RELEASE_TAG" "$RELEASE_DIRECTORY"/* --draft --target "$GITHUB_SHA" --title "NavFrame $VERSION_NAME · build $GITHUB_RUN_NUMBER" --notes-file "$RUNNER_TEMP/release-notes.md"
|
||||
fi
|
||||
# An older build finishing late cannot replace the current main release as latest.
|
||||
LATEST=false
|
||||
if [[ "$(gh api "repos/$GITHUB_REPOSITORY/git/ref/heads/main" --jq '.object.sha')" == "$GITHUB_SHA" ]]; then
|
||||
LATEST=true
|
||||
fi
|
||||
gh release edit "$RELEASE_TAG" --draft=false --latest="$LATEST"
|
||||
- name: Preserve production lint report
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: android-release-lint-${{ github.run_id }}
|
||||
path: app/build/reports/lint-results-release.*
|
||||
if-no-files-found: ignore
|
||||
retention-days: 7
|
||||
- name: Remove temporary signing key
|
||||
if: always()
|
||||
run: rm -f "$RUNNER_TEMP/navframe-release.p12"
|
||||
@@ -0,0 +1,56 @@
|
||||
name: PR branch and version policy
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [opened, synchronize, reopened, edited, labeled, unlabeled]
|
||||
branches: [main, development]
|
||||
permissions:
|
||||
contents: read
|
||||
issues: read
|
||||
jobs:
|
||||
policy:
|
||||
name: Branch and version policy
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# Run only the trusted base policy. Never execute code from the PR head.
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.base.sha }}
|
||||
persist-credentials: false
|
||||
- name: Test the trusted policy
|
||||
run: python3 -m unittest discover -s scripts/tests -v
|
||||
- name: Check explicit owner approval for a major bump
|
||||
id: approval
|
||||
uses: actions/github-script@v7
|
||||
with:
|
||||
script: |
|
||||
const label = 'major-version-approved';
|
||||
const pr = context.payload.pull_request;
|
||||
let approved = false;
|
||||
if (pr.labels.some(item => item.name === label)) {
|
||||
const events = await github.paginate(github.rest.issues.listEvents, {
|
||||
...context.repo, issue_number: pr.number, per_page: 100
|
||||
});
|
||||
const latest = events.filter(event =>
|
||||
['labeled', 'unlabeled'].includes(event.event) && event.label?.name === label
|
||||
).at(-1);
|
||||
approved = latest?.event === 'labeled' &&
|
||||
latest.actor?.login === context.repo.owner;
|
||||
}
|
||||
core.setOutput('approved', String(approved));
|
||||
- name: Fetch PR snapshots and validate versions
|
||||
env:
|
||||
BASE_SHA: ${{ github.event.pull_request.base.sha }}
|
||||
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
|
||||
BASE_BRANCH: ${{ github.event.pull_request.base.ref }}
|
||||
HEAD_BRANCH: ${{ github.event.pull_request.head.ref }}
|
||||
PR_NUMBER: ${{ github.event.pull_request.number }}
|
||||
MAJOR_APPROVED: ${{ steps.approval.outputs.approved }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
# Public read-only fetch; checkout credentials are not persisted.
|
||||
git fetch --no-tags origin "$BASE_SHA" "refs/pull/$PR_NUMBER/head"
|
||||
args=()
|
||||
if [[ "$MAJOR_APPROVED" == true ]]; then args+=(--major-approved); fi
|
||||
python3 scripts/check_version_policy.py \
|
||||
--base-ref "$BASE_SHA" --head-ref "$HEAD_SHA" \
|
||||
--base-branch "$BASE_BRANCH" --head-branch "$HEAD_BRANCH" "${args[@]}"
|
||||
@@ -0,0 +1,11 @@
|
||||
# Repository contribution policy
|
||||
|
||||
- Branch new features as `feat/*` and open their PRs against `development`.
|
||||
- Branch ordinary fixes as `fix/*` and open their PRs against `development`.
|
||||
- Branch urgent production fixes as `hotfix/*` and open their PRs against `main`.
|
||||
- Each `feat/*` or `fix/*` PR into `development`, and each `hotfix/*` PR into `main`, increments only the third versionName component: `x.y.(z+1)` relative to its destination.
|
||||
- A promotion PR from `development` into `main` increments only the second component: `x.(y+1).z`. Do not reset the third component.
|
||||
- Change the first component only when the repository owner explicitly requests it. Follow the owner-applied approval label procedure in `docs/ANDROID_RELEASES.md`.
|
||||
- Increase the committed Android versionCode with every PR. Keep versionName changes in the PR for review, alongside the corresponding README version.
|
||||
- Read `docs/ANDROID_RELEASES.md` for the workflow and run the version policy tests when changing it.
|
||||
- Do not merge PRs on the owner's behalf unless explicitly asked; the owner reviews and merges them.
|
||||
@@ -10,6 +10,10 @@ Contributions are welcome. NavFrame is experimental software for motorcycle navi
|
||||
- Preserve OSM attribution and source dates/hashes for derived data. Check third-party licenses before adding code, fonts, images, or data.
|
||||
- Keep endpoints configurable where appropriate. Never commit API keys, signing keys, personal coordinates, Bluetooth identifiers, or local machine configuration.
|
||||
|
||||
## Licensing contributions
|
||||
|
||||
The project currently has no global license grant for original code and documentation. Discuss contribution and redistribution terms with the maintainers before submitting substantial work. Identify any third-party origin and license explicitly. Changes to the Pillion-derived `navilite` module must preserve its PolyForm Noncommercial provenance and required notices; do not assume a license for original project material overrides third-party terms.
|
||||
|
||||
## Build and checks
|
||||
|
||||
Use JDK 17 and an Android SDK with API 36. The Gradle wrapper pins the Gradle version.
|
||||
|
||||
@@ -4,11 +4,11 @@ NavFrame is an experimental Android navigation app that renders its own 480×240
|
||||
|
||||
## Current status
|
||||
|
||||
The owner has confirmed static and synthetic NavFrame frames on a Xiaomi 11 Lite 5G NE running Android 14 and a 2026 Yamaha MT-07. The owner has also confirmed that the bundled Asturias map works offline on the phone. These results do not validate the current MapLibre map renderer on the motorcycle TFT: the last reported TFT map attempt showed `MAPA NO DISPONIBLE`, and no later physical map-render result is recorded.
|
||||
The owner has confirmed static and synthetic NavFrame frames on a Xiaomi 11 Lite 5G NE running Android 14 and a 2026 Yamaha MT-07, and the bundled Asturias map working offline on the phone. On 2026-10-12, the owner reported that the latest version displayed the map on the TFT for about 20 minutes, then showed `Mapa no disponible` in La Corredoria (Oviedo) for the rest of the trip while the phone map continued working. An offline map was installed. The exact installed build, diagnostic code and background state were not recorded; the cause is under investigation. This establishes a successful map display followed by a persistent failure, not sustained TFT reliability.
|
||||
|
||||
Version 0.13.0 adds voice/routing language selection for Spanish, English, German, French, and Italian, plus a system-language option; unsupported system locales resolve to English. Speech still depends on the Android TextToSpeech engine and its installed voice data. The app includes offline map and place data for Asturias, plus installable regional packages. Worldwide regions can be discovered and built on demand through the [regional package workflow](docs/GLOBAL_OFFLINE.md); this is not complete worldwide coverage. Installed packages currently provide map and local place/camera data. Offline route calculation, global camera completeness, and complete worldwide font coverage are not provided.
|
||||
The current checkout is version 0.14.8. The 0.13 series adds voice/routing language selection for Spanish, English, German, French, and Italian, plus a system-language option; unsupported system locales resolve to English. Speech still depends on the Android TextToSpeech engine and its installed voice data. The app includes offline map and place data for Asturias, plus installable regional packages. Worldwide regions can be discovered and built on demand through the [regional package workflow](docs/GLOBAL_OFFLINE.md); this is not complete worldwide coverage. Installed packages currently provide map and local place/camera data. Offline route calculation, global camera completeness, and complete worldwide font coverage are not provided.
|
||||
|
||||
Route calculation and address search use configurable online services. Spoken output uses the selected language when Android provides voice data; voice availability and offline behavior depend on the device's TextToSpeech engine. Physical validation of route guidance, voice playback, camera alerts, TFT map rendering, and a 30-minute screen-off session remains pending unless a newer test report says otherwise.
|
||||
Route calculation and address search use configurable online services. Spoken output uses the selected language when Android provides voice data; voice availability and offline behavior depend on the device's TextToSpeech engine. Physical validation of route guidance, voice playback, camera alerts, sustained TFT map rendering, and a 30-minute screen-off session remains pending unless a newer test report says otherwise.
|
||||
|
||||
## Build
|
||||
|
||||
@@ -27,6 +27,22 @@ python3 -m unittest discover -s tools/offline -p 'test_*.py'
|
||||
|
||||
Set up `local.properties` for your own Android SDK when needed. It is excluded from Git. See [Contributing](CONTRIBUTING.md) for the development and review process.
|
||||
|
||||
## Location and compass
|
||||
|
||||
Version 0.13.3 uses available native Android location sources and recent cached fixes to avoid waiting exclusively for a new satellite fix. The map can recenter on a recent approximate position with accuracy up to 100 metres; starting route guidance still requires 25 metres. A compass heading orients the map at low speed, while usable movement course takes priority when riding. See [Location and compass](docs/LOCATION_AND_COMPASS.md) for behavior and device-validation limits.
|
||||
|
||||
## TFT diagnostic history
|
||||
|
||||
Version 0.13.2 automatically saves the latest 100 TFT map failures and recoveries on the phone. After a reboot or empty battery, open **Information and licenses → TFT map diagnosis → Share** to export the saved history. It excludes coordinates, URLs, route/search text, and Bluetooth identifiers. See [Persistent TFT diagnostics](docs/TFT_DIAGNOSTICS.md) for retention and limitations.
|
||||
|
||||
## Automated builds
|
||||
|
||||
GitHub Actions uploads a debug APK artifact for pushes to `development`. Pushes to `main` publish a signed production APK release after build, tests, lint and signature checks pass. Production signing requires the repository secrets described in [Android builds and releases](docs/ANDROID_RELEASES.md). Pull requests run checks without publishing releases.
|
||||
|
||||
## Imported routes
|
||||
|
||||
Choose **☰ → Cargar ruta GPX** to load a standard GPX route or track and start following it once precise GPS is available. Imported traces retain their geometry without online recalculation or invented turn announcements. See [GPX import](docs/IMPORTED_ROUTES.md).
|
||||
|
||||
## Documentation
|
||||
|
||||
- [Documentation index](docs/README.md)
|
||||
@@ -42,4 +58,6 @@ Set up `local.properties` for your own Android SDK when needed. It is excluded f
|
||||
|
||||
## License notes
|
||||
|
||||
There is no single permissive license covering every part of this repository. In particular, NaviLite contains code adapted from Pillion under PolyForm Noncommercial 1.0.0, which restricts commercial use. Other code, datasets, fonts, and dependencies have their own terms and notices. Review [Licensing](docs/LICENSING.md) and the included notices before copying, redistributing, or using any part of this project. OpenStreetMap-derived offline data is distributed under ODbL 1.0 with attribution.
|
||||
No project-wide license is granted for original NavFrame code or documentation. Public repository visibility alone does not grant permission to copy, modify or redistribute that material. The Pillion-derived `navilite` module retains **PolyForm Noncommercial 1.0.0** and its required notices; its commercial-use restrictions must be respected.
|
||||
|
||||
Map data, fonts, dependencies and other third-party material retain their respective terms. OpenStreetMap-derived offline data is distributed under ODbL 1.0 with attribution. Review [Licensing](docs/LICENSING.md) and the included notices before copying, redistributing or using project material. Before redistributing a release, verify the terms for original material and every included component.
|
||||
+26
-2
@@ -1,17 +1,41 @@
|
||||
plugins { id("com.android.application"); kotlin("android") }
|
||||
val releaseSigningNames = listOf("NAVFRAME_KEYSTORE_PATH", "NAVFRAME_KEYSTORE_PASSWORD", "NAVFRAME_KEY_ALIAS", "NAVFRAME_KEY_PASSWORD")
|
||||
val releaseSigning = releaseSigningNames.associateWith { System.getenv(it).orEmpty() }
|
||||
val hasReleaseSigning = releaseSigning.values.all { it.isNotBlank() }
|
||||
if (releaseSigning.values.any { it.isNotBlank() } && !hasReleaseSigning) {
|
||||
throw GradleException("Incomplete release signing configuration. Required variables: ${releaseSigningNames.joinToString()}")
|
||||
}
|
||||
val navframeVersionCode = providers.gradleProperty("navframeVersionCode").orNull?.toInt()
|
||||
require(navframeVersionCode == null || navframeVersionCode in 1..2_100_000_000) { "Android versionCode must be between 1 and 2100000000" }
|
||||
android {
|
||||
namespace = "dev.navframe.app"
|
||||
compileSdk = 36
|
||||
buildFeatures { buildConfig = true }
|
||||
defaultConfig {
|
||||
applicationId = "dev.navframe.app"
|
||||
minSdk = 26
|
||||
targetSdk = 35
|
||||
versionCode = 16
|
||||
versionName = "0.13.0"
|
||||
versionName = "0.14.8"
|
||||
versionCode = 25
|
||||
}
|
||||
if (hasReleaseSigning) {
|
||||
signingConfigs.create("production") {
|
||||
storeFile = file(releaseSigning.getValue("NAVFRAME_KEYSTORE_PATH"))
|
||||
storePassword = releaseSigning.getValue("NAVFRAME_KEYSTORE_PASSWORD")
|
||||
keyAlias = releaseSigning.getValue("NAVFRAME_KEY_ALIAS")
|
||||
keyPassword = releaseSigning.getValue("NAVFRAME_KEY_PASSWORD")
|
||||
}
|
||||
buildTypes.getByName("release").signingConfig = signingConfigs.getByName("production")
|
||||
}
|
||||
testOptions { unitTests.isIncludeAndroidResources = true }
|
||||
compileOptions { sourceCompatibility = JavaVersion.VERSION_17; targetCompatibility = JavaVersion.VERSION_17 }
|
||||
}
|
||||
navframeVersionCode?.let { android.defaultConfig.versionCode = it }
|
||||
gradle.taskGraph.whenReady {
|
||||
if (!hasReleaseSigning && allTasks.any { it.path in setOf(":app:assembleRelease", ":app:bundleRelease", ":app:packageRelease") }) {
|
||||
throw GradleException("Production builds require release signing. Configure ${releaseSigningNames.joinToString()}.")
|
||||
}
|
||||
}
|
||||
kotlin { jvmToolchain(17) }
|
||||
dependencies {
|
||||
implementation(project(":core"))
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
|
||||
Unmodified glyph PBF files supplied by MapLibre demotiles, font/Noto Sans Regular.
|
||||
Source: https://github.com/maplibre/demotiles/tree/gh-pages/font/Noto%20Sans%20Regular
|
||||
Unicode ranges 0–2047. The license below is reproduced unchanged from that font directory.
|
||||
Unicode ranges 0–2047, 7680–7935 (Latin Extended Additional, e.g. Asturian Ḷ/ḷ) and 8192–8447 (General Punctuation, e.g. ’ – —).
|
||||
Every other range up to 65535 is an empty NavFrame placeholder containing no glyph data, generated by tools/offline/fill-glyph-ranges.py.
|
||||
The license below is reproduced unchanged from that font directory.
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License,
|
||||
Version 1.1.
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular10240-10495
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular10496-10751
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular10752-11007
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular11008-11263
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular11264-11519
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular11520-11775
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular11776-12031
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular12032-12287
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular12288-12543
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular12544-12799
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular12800-13055
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular13056-13311
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular13312-13567
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular13568-13823
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular13824-14079
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular14080-14335
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular14336-14591
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular14592-14847
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular14848-15103
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular15104-15359
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular15360-15615
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular15616-15871
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular15872-16127
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular16128-16383
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular16384-16639
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular16640-16895
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular16896-17151
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular17152-17407
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular17408-17663
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular17664-17919
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular17920-18175
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular18176-18431
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular18432-18687
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular18688-18943
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular18944-19199
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular19200-19455
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular19456-19711
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular19712-19967
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular19968-20223
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular20224-20479
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular 2048-2303
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular20480-20735
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular20736-20991
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular20992-21247
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular21248-21503
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular21504-21759
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular21760-22015
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular22016-22271
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular22272-22527
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular22528-22783
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular22784-23039
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular 2304-2559
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular23040-23295
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular23296-23551
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular23552-23807
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular23808-24063
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular24064-24319
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular24320-24575
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular24576-24831
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular24832-25087
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular25088-25343
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular25344-25599
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular 2560-2815
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular25600-25855
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular25856-26111
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular26112-26367
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular26368-26623
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular26624-26879
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular26880-27135
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular27136-27391
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular27392-27647
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular27648-27903
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular27904-28159
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular 2816-3071
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular28160-28415
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular28416-28671
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular28672-28927
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular28928-29183
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular29184-29439
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular29440-29695
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular29696-29951
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular29952-30207
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular30208-30463
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular30464-30719
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular 3072-3327
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular30720-30975
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular30976-31231
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular31232-31487
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular31488-31743
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular31744-31999
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular32000-32255
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular32256-32511
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
Noto Sans Regular32512-32767
|
||||
Loaded 100 of 307 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user