mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Specify the path to the Java SDK used for the Android gradle build
Introduce an editor setting to allow users the ability to specify the path to the Java SDK used for the Android gradle build.
(cherry picked from commit 85e98ef009)
This commit is contained in:
parent
02c26e075b
commit
b169bfc851
5 changed files with 64 additions and 5 deletions
|
|
@ -42,6 +42,8 @@ void register_android_exporter_types() {
|
|||
|
||||
void register_android_exporter() {
|
||||
#ifndef ANDROID_ENABLED
|
||||
EDITOR_DEF("export/android/java_sdk_path", OS::get_singleton()->get_environment("JAVA_HOME"));
|
||||
EditorSettings::get_singleton()->add_property_hint(PropertyInfo(Variant::STRING, "export/android/java_sdk_path", PROPERTY_HINT_GLOBAL_DIR));
|
||||
EDITOR_DEF("export/android/android_sdk_path", OS::get_singleton()->get_environment("ANDROID_HOME"));
|
||||
EditorSettings::get_singleton()->add_property_hint(PropertyInfo(Variant::STRING, "export/android/android_sdk_path", PROPERTY_HINT_GLOBAL_DIR));
|
||||
EDITOR_DEF("export/android/debug_keystore", "");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue