aboutsummaryrefslogtreecommitdiff
path: root/common/build/templates/create/_MODULE_/build.gradle.ftl
diff options
context:
space:
mode:
Diffstat (limited to 'common/build/templates/create/_MODULE_/build.gradle.ftl')
-rw-r--r--common/build/templates/create/_MODULE_/build.gradle.ftl42
1 files changed, 0 insertions, 42 deletions
diff --git a/common/build/templates/create/_MODULE_/build.gradle.ftl b/common/build/templates/create/_MODULE_/build.gradle.ftl
deleted file mode 100644
index c662fecd..00000000
--- a/common/build/templates/create/_MODULE_/build.gradle.ftl
+++ /dev/null
@@ -1,42 +0,0 @@
-
-<#-- This build script is a bootstrapper for the "real" android build script that
-is contained in templates/base. It includes only what's necessary for Android Studio
-to recognize this as an Android project and start the template engine. -->
-
-buildscript {
- repositories {
- mavenCentral()
- }
-
- dependencies {
- classpath 'com.android.tools.build:gradle:0.4.2'
- }
-}
-
-apply plugin: 'android'
-
-
-android {
- <#-- Note that target SDK is hardcoded in this template. We expect all samples
- to always use the most current SDK as their target. -->
- compileSdkVersion 17
- buildToolsVersion "17.0.0"
-
- defaultConfig {
- minSdkVersion ${sample.minSdk}
- targetSdkVersion 17
- }
-}
-
-task preflight (dependsOn: parent.preflight) {}
-
-// Inject a preflight task into each variant so we have a place to hook tasks
-// that need to run before any of the android build tasks.
-<#noparse>
-android.applicationVariants.each { variant ->
- tasks.getByPath("prepare${variant.name.capitalize()}Dependencies").dependsOn preflight
-}
-</#noparse>
-
-
-