You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Improve the logic to compile for Android by automatically detecting and setting up the Android NDK if needed.
(cherry picked from commit eee213e01a)
This commit is contained in:
committed by
Rémi Verschelde
parent
48381ba81c
commit
5886d09521
@@ -112,6 +112,8 @@ android {
|
||||
disable 'MissingTranslation', 'UnusedResources'
|
||||
}
|
||||
|
||||
ndkVersion versions.ndkVersion
|
||||
|
||||
packagingOptions {
|
||||
exclude 'META-INF/LICENSE'
|
||||
exclude 'META-INF/NOTICE'
|
||||
|
||||
@@ -7,7 +7,8 @@ ext.versions = [
|
||||
supportCoreUtils : '1.0.0',
|
||||
kotlinVersion : '1.4.10',
|
||||
v4Support : '1.0.0',
|
||||
javaVersion : 1.8
|
||||
javaVersion : 1.8,
|
||||
ndkVersion : '21.3.6528147' // Also update 'platform/android/detect.py#get_project_ndk_version()' when this is updated.
|
||||
|
||||
]
|
||||
|
||||
|
||||
@@ -31,6 +31,8 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
ndkVersion versions.ndkVersion
|
||||
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
path "CMakeLists.txt"
|
||||
|
||||
Reference in New Issue
Block a user