Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion templates/android/template/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import java.awt.GridBagConstraints
import javax.swing.border.EmptyBorder

apply plugin: 'com.android.application'

::foreach ANDROID_GRADLE_APPLY_PLUGIN::apply plugin: '::__current__::'
::end::
System.setProperty('java.awt.headless','false')

//Uncomment to debug deprecation warnings.
Expand Down
1 change: 1 addition & 0 deletions tools/platforms/AndroidPlatform.hx
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@ class AndroidPlatform extends PlatformTarget
]);
context.ANDROID_GRADLE_VERSION = project.config.getString("android.gradle-version", "8.9");
context.ANDROID_GRADLE_PLUGIN = project.config.getString("android.gradle-plugin", "8.7.3");
context.ANDROID_GRADLE_APPLY_PLUGIN = project.config.getArrayString("android.gradle-apply-plugin");
context.ANDROID_USE_ANDROIDX = project.config.getString("android.useAndroidX", "true");
context.ANDROID_ENABLE_JETIFIER = project.config.getString("android.enableJetifier", "false");
context.ANDROID_GRADLE_PROPERTIES = project.config.getKeyValueArray("android.gradle-properties");
Expand Down