Add a build.gradle file to the extension template.
This commit is contained in:
committed by
Joshua Granick
parent
eaee9c79c5
commit
9d19f8a88f
13
templates/extension/dependencies/android/build.gradle
Normal file
13
templates/extension/dependencies/android/build.gradle
Normal file
@@ -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::"
|
||||
}
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project name="::className::" default="help">
|
||||
|
||||
<property environment="env"/>
|
||||
<property name="sdk.dir" value="${env.ANDROID_SDK}"/>
|
||||
|
||||
<property file="local.properties"/>
|
||||
<property file="ant.properties"/>
|
||||
<property file="project.properties"/>
|
||||
|
||||
<import file="${sdk.dir}/tools/ant/build.xml"/>
|
||||
|
||||
</project>
|
||||
@@ -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::
|
||||
Reference in New Issue
Block a user