mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Enable Gradle builds on the Android editor via a dedicated build app
Co-authored-by: Logan Lang <devloglogan@gmail.com>
This commit is contained in:
parent
3a97723ff2
commit
5593a0b2b2
16 changed files with 928 additions and 19 deletions
|
|
@ -84,6 +84,11 @@ private:
|
|||
jmethodID _set_window_color = nullptr;
|
||||
jmethodID _on_editor_workspace_selected = nullptr;
|
||||
jmethodID _get_activity = nullptr;
|
||||
jmethodID _build_env_connect = nullptr;
|
||||
jmethodID _build_env_disconnect = nullptr;
|
||||
jmethodID _build_env_execute = nullptr;
|
||||
jmethodID _build_env_cancel = nullptr;
|
||||
jmethodID _build_env_clean_project = nullptr;
|
||||
|
||||
public:
|
||||
GodotJavaWrapper(JNIEnv *p_env, jobject p_godot_instance);
|
||||
|
|
@ -141,4 +146,10 @@ public:
|
|||
void set_window_color(const Color &p_color);
|
||||
|
||||
void on_editor_workspace_selected(const String &p_workspace);
|
||||
|
||||
bool build_env_connect(const Callable &p_callback);
|
||||
void build_env_disconnect();
|
||||
int build_env_execute(const String &p_build_tool, const List<String> &p_arguments, const String &p_project_path, const String &p_gradle_build_directory, const Callable &p_output_callback, const Callable &p_result_callback);
|
||||
void build_env_cancel(int p_job_id);
|
||||
void build_env_clean_project(const String &p_project_path, const String &p_gradle_build_directory, const Callable &p_callback);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue