mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
android: adding classpath and gradle plugins
This commit is contained in:
committed by
Rémi Verschelde
parent
111d3e8063
commit
27c7d253aa
@@ -65,7 +65,14 @@ gradle_java_dirs_text = ""
|
||||
for x in env.android_java_dirs:
|
||||
gradle_java_dirs_text += ",'" + x.replace("\\", "/") + "'"
|
||||
|
||||
gradle_plugins = ""
|
||||
for x in env.android_gradle_plugins:
|
||||
gradle_plugins += "apply plugin: \"" + x + "\"\n"
|
||||
|
||||
gradle_classpath = ""
|
||||
for x in env.android_gradle_classpath:
|
||||
gradle_classpath += "\t\tclasspath \"" + x + "\"\n"
|
||||
|
||||
gradle_res_dirs_text = ""
|
||||
|
||||
for x in env.android_res_dirs:
|
||||
@@ -96,7 +103,8 @@ gradle_text = gradle_text.replace("$$GRADLE_ASSET_DIRS$$", gradle_asset_dirs_tex
|
||||
gradle_text = gradle_text.replace("$$GRADLE_AIDL_DIRS$$", gradle_aidl_dirs_text)
|
||||
gradle_text = gradle_text.replace("$$GRADLE_JNI_DIRS$$", gradle_jni_dirs_text)
|
||||
gradle_text = gradle_text.replace("$$GRADLE_DEFAULT_CONFIG$$", gradle_default_config_text)
|
||||
|
||||
gradle_text = gradle_text.replace("$$GRADLE_PLUGINS$$", gradle_plugins)
|
||||
gradle_text = gradle_text.replace("$$GRADLE_CLASSPATH$$", gradle_classpath)
|
||||
|
||||
gradle_baseout.write(gradle_text)
|
||||
gradle_baseout.close()
|
||||
|
||||
Reference in New Issue
Block a user