Debian Codegraph @

templates/gradle-projects/NewAndroidProject/root/build.gradle.ftl

raw
1 // Top-level build file where you can add configuration options common to all sub-projects/modules.
2
3 buildscript {
4 repositories {
5 jcenter()
6 <#if mavenUrl != "mavenCentral">
7 maven {
8 url '${mavenUrl}'
9 }
10 </#if>
11 }
12 dependencies {
13 classpath 'com.android.tools.build:gradle:${gradlePluginVersion}'
14
15 // NOTE: Do not place your application dependencies here; they belong
16 // in the individual module build.gradle files
17 }
18 }
19
20 allprojects {
21 repositories {
22 jcenter()
23 <#if mavenUrl != "mavenCentral">
24 maven {
25 url '${mavenUrl}'
26 }
27 </#if>
28 }
29 }
30
31 task clean(type: Delete) {
32 delete rootProject.buildDir
33 }