APK Android généré avec succès
- Script build-apk-simple.sh créé pour build sans Docker - Installation SDKMAN + Java 21 requise par Capacitor - Configuration Android SDK via cmdline-tools - APK généré: dist/compagnon-lagon-beta.apk - Export statique Next.js configuré (next.config.export.js) - Taille APK: ~5MB prêt pour distribution Pour rebuild: ./scripts/build-apk-simple.sh
This commit is contained in:
29
android/build.gradle
Normal file
29
android/build.gradle
Normal file
@ -0,0 +1,29 @@
|
||||
// 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.7.2'
|
||||
classpath 'com.google.gms:google-services:4.4.2'
|
||||
|
||||
// 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
|
||||
}
|
||||
Reference in New Issue
Block a user