- 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
26 lines
1.1 KiB
Properties
26 lines
1.1 KiB
Properties
# Project-wide Gradle settings.
|
|
|
|
# IDE (e.g. Android Studio) users:
|
|
# Gradle settings configured through the IDE *will override*
|
|
# any settings specified in this file.
|
|
|
|
# For more details on how to configure your build environment visit
|
|
# http://www.gradle.org/docs/current/userguide/build_environment.html
|
|
|
|
# Specifies the JVM arguments used for the daemon process.
|
|
# The setting is particularly useful for tweaking memory settings.
|
|
org.gradle.jvmargs=-Xmx1536m
|
|
|
|
# Use Java 21 toolchain (required by Capacitor)
|
|
org.gradle.java.home=/home/syoul/.sdkman/candidates/java/21.0.1-tem
|
|
|
|
# When configured, Gradle will run in incubating parallel mode.
|
|
# This option should only be used with decoupled projects. More details, visit
|
|
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
|
# org.gradle.parallel=true
|
|
|
|
# AndroidX package structure to make it clearer which packages are bundled with the
|
|
# Android operating system, and which are packaged with your app's APK
|
|
# https://developer.android.com/topic/libraries/support-library/androidx-rn
|
|
android.useAndroidX=true
|