mirror of
https://github.com/efiten/coredrive-rx.git
synced 2026-11-23 12:57:58 +00:00
npx cap add android with appId eu.on8ar.coredriverx and android.useLegacyBridge (the background-geolocation README: without it updates stop after 5 minutes in the background). Manifest adds location, POST_NOTIFICATIONS and Bluetooth permissions, BLUETOOTH_SCAN declared neverForLocation. Copied web assets (including config.json) stay out of git via the generated android/.gitignore. `npm run android:sync` builds and copies dist/ into the project; README has the steps. Not built: this machine has JDK 8 and no Android SDK. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
30 lines
637 B
Groovy
30 lines
637 B
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:8.13.0'
|
|
classpath 'com.google.gms:google-services:4.4.4'
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
apply from: "variables.gradle"
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|