aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJeff Smith <whydoubt@gmail.com>2013-06-01 21:40:33 -0500
committerJeff Smith <whydoubt@gmail.com>2013-06-13 22:27:28 -0500
commitc831c2ffbde9882c61583e73f2a81530dfab9a7a (patch)
treec760a3213c885919465fa842cacb2f009bb8e239 /templates
parentac47eda797d88ec0d59f7eba668b36ba64902169 (diff)
downloadsdk-c831c2ffbde9882c61583e73f2a81530dfab9a7a.zip
sdk-c831c2ffbde9882c61583e73f2a81530dfab9a7a.tar.gz
sdk-c831c2ffbde9882c61583e73f2a81530dfab9a7a.tar.bz2
Add template for build.gradle
Provides the template needed by 'android create project' to create the file build.gradle. Change-Id: I689a76573afd2c4d0454deca3ed694f1fb46065e Signed-off-by: Jeff Smith <whydoubt@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/build_gradle.template21
1 files changed, 21 insertions, 0 deletions
diff --git a/templates/build_gradle.template b/templates/build_gradle.template
new file mode 100644
index 0000000..6ec137c
--- /dev/null
+++ b/templates/build_gradle.template
@@ -0,0 +1,21 @@
+buildscript {
+ repositories {
+ mavenCentral()
+ }
+ dependencies {
+ classpath 'com.android.tools.build:gradle:ARTIFACT_VERSION'
+ }
+}
+apply plugin: 'PLUGIN'
+
+android {
+ compileSdkVersion 'TARGET'
+ buildToolsVersion 'BUILD_TOOL_REV'
+
+ buildTypes {
+ release {
+ runProguard false
+ proguardFile getDefaultProguardFile('proguard-android.txt')
+ }
+ }
+}