- tools/android/build.sh (docker/android-native): PHP 8.5 embed cross-built with the NDK r29 per ABI (arm64-v8a, x86_64) with JumPHP's extensions, gd (libpng) and bcmath; SDL's Android project; the game unpacked from the APK by main.c on its first launch; signed .aab + .apk - bin/jumphp android: the workflow in the project's GitHub (tools/android/workflow.yml), the upload key in its secrets after a yes, the build and the release on GitHub; --local in Docker - engine: on-screen controls drawn by the engine (JUMPHP_TOUCH_CONTROLS), the game's orientation on Android, Platform::isAbsolutePath (Windows paths: sounds, fonts, maps, 3D) - tools/stage-game.sh: the game's files, shared by export:standalone and android - docs/android-native.md: the command, what is in the app, Google Play step by step Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018nX3d2yxMGf7KC1TN3rwew
16 lines
377 B
Groovy
16 lines
377 B
Groovy
// A JumPHP game as a native Android app (tools/android/build.sh fills in the game, its name, package and icons).
|
|
pluginManagement {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
}
|
|
dependencyResolutionManagement {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
rootProject.name = 'jumphp-game'
|
|
include ':app'
|