From 9d19f8a88fb9d48ca59211fff9ea8b12779735bb Mon Sep 17 00:00:00 2001 From: player-03 Date: Thu, 26 May 2016 05:40:19 -0400 Subject: [PATCH] Add a build.gradle file to the extension template. --- .../extension/dependencies/android/build.gradle | 13 +++++++++++++ .../extension/dependencies/android/build.xml | 13 ------------- .../dependencies/android/project.properties | 15 --------------- 3 files changed, 13 insertions(+), 28 deletions(-) create mode 100644 templates/extension/dependencies/android/build.gradle delete mode 100644 templates/extension/dependencies/android/build.xml delete mode 100644 templates/extension/dependencies/android/project.properties diff --git a/templates/extension/dependencies/android/build.gradle b/templates/extension/dependencies/android/build.gradle new file mode 100644 index 000000000..65250e773 --- /dev/null +++ b/templates/extension/dependencies/android/build.gradle @@ -0,0 +1,13 @@ +apply plugin: 'com.android.application' + +android { + compileSdkVersion ::ANDROID_TARGET_SDK_VERSION:: + + defaultConfig { + applicationId "org.haxe.extension.::extensionLowerCase::" + minSdkVersion ::ANDROID_MINIMUM_SDK_VERSION:: + targetSdkVersion ::ANDROID_TARGET_SDK_VERSION:: + versionCode ::META_BUILD_NUMBER:: + versionName "::META_VERSION::" + } +} diff --git a/templates/extension/dependencies/android/build.xml b/templates/extension/dependencies/android/build.xml deleted file mode 100644 index 7b3ba27a9..000000000 --- a/templates/extension/dependencies/android/build.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/templates/extension/dependencies/android/project.properties b/templates/extension/dependencies/android/project.properties deleted file mode 100644 index 0fc47ff8c..000000000 --- a/templates/extension/dependencies/android/project.properties +++ /dev/null @@ -1,15 +0,0 @@ -# This file is automatically generated by Android Tools. -# Do not modify this file -- YOUR CHANGES WILL BE ERASED! -# -# This file must be checked in Version Control Systems. -# -# To customize properties used by the Ant build system use, -# "build.properties", and override values to adapt the script to your -# project structure. - -android.library=true - -android.library.reference.1=../extension-api - -# Project target. -target=android-::ANDROID_TARGET_SDK_VERSION::