secubox-deb/secubox-companion/android/build.gradle
CyberMind-FR c9f2164c26 build(companion): commit the Capacitor Android scaffold + lockfile
The android/ project backing `npm run apk` was never tracked, so the APK build
was only reproducible on the machine that happened to have it.

The gradle wrapper is pinned to gradle-8.9-bin (the default 8.7-all is what
broke the build); the URL is the public distribution, and the tree carries no
machine-specific paths, so it builds anywhere.

.gitignore is the standard Capacitor/Android template — no APKs, build/,
.gradle/, local.properties, keystores, or the copied web assets under
app/src/main/assets/public (those are generated from www/ by cap sync, and
committing them would fork the app code).

Co-Authored-By: Gerald KERMA <devel@cybermind.fr>
2026-07-17 11:08:42 +02:00

30 lines
636 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.2.1'
classpath 'com.google.gms:google-services:4.4.0'
// 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
}