0% found this document useful (0 votes)
104 views6 pages

Build Gradle Android App

This document is a top-level build file that configures common options for sub-projects. It defines repositories for dependencies, dependencies for the build script, and a clean task to delete build directories. It also notes that application dependencies should be defined in individual module files.

Uploaded by

andreiii4
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
104 views6 pages

Build Gradle Android App

This document is a top-level build file that configures common options for sub-projects. It defines repositories for dependencies, dependencies for the build script, and a clean task to delete build directories. It also notes that application dependencies should be defined in individual module files.

Uploaded by

andreiii4
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {

repositories {

jcenter()

google()

dependencies {

classpath 'com.android.tools.build:gradle:2.3.3'

classpath 'com.google.gms:google-services:3.1.0'

// NOTE: Do not place your application dependencies here; they belong

// in the individual module build.gradle files

allprojects {

repositories {

jcenter()

google()

task clean(type: Delete) {

delete rootProject.buildDir

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
repositories {

jcenter()

google()

dependencies {

classpath 'com.android.tools.build:gradle:2.3.3'

classpath 'com.google.gms:google-services:3.1.0'

// NOTE: Do not place your application dependencies here; they belong

// in the individual module build.gradle files

allprojects {

repositories {

jcenter()

google()

task clean(type: Delete) {

delete rootProject.buildDir

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {

repositories {

jcenter()

google()
}

dependencies {

classpath 'com.android.tools.build:gradle:2.3.3'

classpath 'com.google.gms:google-services:3.1.0'

// NOTE: Do not place your application dependencies here; they belong

// in the individual module build.gradle files

allprojects {

repositories {

jcenter()

google()

task clean(type: Delete) {

delete rootProject.buildDir

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {

repositories {

jcenter()

google()

dependencies {

classpath 'com.android.tools.build:gradle:2.3.3'
classpath 'com.google.gms:google-services:3.1.0'

// NOTE: Do not place your application dependencies here; they belong

// in the individual module build.gradle files

allprojects {

repositories {

jcenter()

google()

task clean(type: Delete) {

delete rootProject.buildDir

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {

repositories {

jcenter()

google()

dependencies {

classpath 'com.android.tools.build:gradle:2.3.3'

classpath 'com.google.gms:google-services:3.1.0'

// NOTE: Do not place your application dependencies here; they belong


// in the individual module build.gradle files

allprojects {

repositories {

jcenter()

google()

task clean(type: Delete) {

delete rootProject.buildDir

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {

repositories {

jcenter()

google()

dependencies {

classpath 'com.android.tools.build:gradle:2.3.3'

classpath 'com.google.gms:google-services:3.1.0'

// NOTE: Do not place your application dependencies here; they belong

// in the individual module build.gradle files

}
allprojects {

repositories {

jcenter()

google()

task clean(type: Delete) {

delete rootProject.buildDir

You might also like