summaryrefslogtreecommitdiff
path: root/platform/android/build.gradle.template
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/build.gradle.template')
-rw-r--r--platform/android/build.gradle.template72
1 files changed, 72 insertions, 0 deletions
diff --git a/platform/android/build.gradle.template b/platform/android/build.gradle.template
new file mode 100644
index 0000000000..fdc0e751e3
--- /dev/null
+++ b/platform/android/build.gradle.template
@@ -0,0 +1,72 @@
+buildscript {
+ repositories {
+ jcenter()
+ }
+ dependencies {
+ classpath 'com.android.tools.build:gradle:1.2.0'
+ }
+}
+
+apply plugin: 'com.android.application'
+
+allprojects {
+ repositories {
+ mavenCentral()
+ maven {
+ $$GRADLE_REPOSITORY_URLS$$
+ }
+ }
+}
+
+dependencies {
+
+ $$GRADLE_DEPENDENCIES$$
+}
+
+android {
+
+ lintOptions {
+ abortOnError false
+ }
+
+ compileSdkVersion 19
+ buildToolsVersion "19.1"
+
+ packagingOptions {
+ exclude 'META-INF/LICENSE'
+ exclude 'META-INF/NOTICE'
+ }
+ defaultConfig {
+ minSdkVersion 14
+ targetSdkVersion 19
+ }
+ sourceSets {
+ main {
+ manifest.srcFile 'AndroidManifest.xml'
+ java.srcDirs = ['src',
+ $$GRADLE_JAVA_DIRS$$
+ ]
+ resources.srcDirs = [
+ 'res'
+ $$GRADLE_RES_DIRS$$
+ ]
+ res.srcDirs = ['res']
+ // libs.srcDirs = ['libs']
+ aidl.srcDirs = [
+ 'aidl'
+ $$GRADLE_AIDL_DIRS$$
+ ]
+ assets.srcDirs = [
+ 'assets'
+ $$GRADLE_ASSET_DIRS$$
+ ]
+ jniLibs.srcDirs = [
+ 'libs'
+ $$GRADLE_JNI_DIRS$$
+ ]
+ }
+
+ }
+
+
+}