diff options
Diffstat (limited to 'platform/android/build.gradle.template')
-rw-r--r-- | platform/android/build.gradle.template | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/platform/android/build.gradle.template b/platform/android/build.gradle.template new file mode 100644 index 0000000000..9461cd2e99 --- /dev/null +++ b/platform/android/build.gradle.template @@ -0,0 +1,70 @@ +buildscript { + repositories { + jcenter() + } + dependencies { + classpath 'com.android.tools.build:gradle:1.2.0' + } +} + +apply plugin: 'com.android.application' + +allprojects { + repositories { + mavenCentral() + $$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$$ + ] + } + + } + + +} |