0.1.0-0-pre.11
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<!-- file: Android/README.md -->
|
||||
<!-- version: 7 -->
|
||||
<!-- version: 8 -->
|
||||
|
||||
# Android
|
||||
|
||||
@@ -91,3 +91,11 @@ assets/<game>/ -> assets/game/
|
||||
dans un répertoire généré sous `Android/<module>/build/generated/sasedevAssets/<variant>/`.
|
||||
|
||||
Aucune ressource source n'est copiée durablement dans un module Android ou une crate Rust.
|
||||
|
||||
## Version NDK du projet
|
||||
|
||||
`Android/gradle.properties` définit `androidNdkVersion=28.2.13676358`.
|
||||
|
||||
Gradle utilise cette valeur comme `ndkVersion`. Le script Rust Android résout la même version sous `${ANDROID_HOME}/ndk/` et définit `ANDROID_NDK_HOME` uniquement pour le sous-processus `cargo ndk`.
|
||||
|
||||
Aucun `ANDROID_NDK_HOME` global n'est requis ; plusieurs NDK peuvent rester installés côte à côte.
|
||||
|
||||
@@ -1,15 +1,17 @@
|
||||
// file: Android/common/build.gradle
|
||||
// version: 3
|
||||
// version: 4
|
||||
|
||||
plugins {
|
||||
id 'com.android.library'
|
||||
}
|
||||
|
||||
def sdl3AarName = providers.gradleProperty("sdl3AarName").get()
|
||||
def androidNdkVersion = providers.gradleProperty("androidNdkVersion").get()
|
||||
|
||||
android {
|
||||
namespace 'com.sasedev.games.common'
|
||||
compileSdk 36
|
||||
ndkVersion androidNdkVersion
|
||||
|
||||
defaultConfig {
|
||||
minSdk 21
|
||||
|
||||
@@ -1,22 +1,24 @@
|
||||
// file: Android/game-reflex-poc/build.gradle
|
||||
// version: 8
|
||||
// version: 9
|
||||
|
||||
plugins {
|
||||
id 'com.android.application'
|
||||
}
|
||||
|
||||
def sdl3AarName = providers.gradleProperty("sdl3AarName").get()
|
||||
def androidNdkVersion = providers.gradleProperty("androidNdkVersion").get()
|
||||
|
||||
android {
|
||||
namespace 'com.sasedev.games.reflex'
|
||||
compileSdk 36
|
||||
ndkVersion androidNdkVersion
|
||||
|
||||
defaultConfig {
|
||||
applicationId 'com.sasedev.games.reflex'
|
||||
minSdk 21
|
||||
targetSdk 36
|
||||
versionCode 1
|
||||
versionName '0.1.0-0-pre.10'
|
||||
versionName '0.1.0-0-pre.11'
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
|
||||
@@ -1,22 +1,24 @@
|
||||
// file: Android/game-snake-poc/build.gradle
|
||||
// version: 8
|
||||
// version: 9
|
||||
|
||||
plugins {
|
||||
id 'com.android.application'
|
||||
}
|
||||
|
||||
def sdl3AarName = providers.gradleProperty("sdl3AarName").get()
|
||||
def androidNdkVersion = providers.gradleProperty("androidNdkVersion").get()
|
||||
|
||||
android {
|
||||
namespace 'com.sasedev.games.snake'
|
||||
compileSdk 36
|
||||
ndkVersion androidNdkVersion
|
||||
|
||||
defaultConfig {
|
||||
applicationId 'com.sasedev.games.snake'
|
||||
minSdk 21
|
||||
targetSdk 36
|
||||
versionCode 1
|
||||
versionName '0.1.0-0-pre.10'
|
||||
versionName '0.1.0-0-pre.11'
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# file: Android/gradle.properties
|
||||
# version: 1
|
||||
# version: 2
|
||||
|
||||
android.useAndroidX=true
|
||||
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
|
||||
sdl3AarName=SDL3-3.4.16.aar
|
||||
androidNdkVersion=28.2.13676358
|
||||
|
||||
Reference in New Issue
Block a user