NetGuard/build.gradle

43 lines
1.2 KiB
Groovy
Raw Normal View History

2015-10-24 18:01:55 +00:00
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
2015-10-24 18:01:55 +00:00
jcenter()
}
dependencies {
// http://tools.android.com/tech-docs/new-build-system/gradle-experimental
2017-08-10 12:03:48 +00:00
// https://bintray.com/android/android-tools/com.android.tools.build.gradle-experimental/view
// https://bintray.com/android/android-tools/com.google.gms.google-services/view
2018-03-27 08:37:23 +00:00
classpath 'com.android.tools.build:gradle:3.1.+'
2015-10-24 18:01:55 +00:00
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
2018-04-27 06:56:36 +00:00
jcenter()
2018-03-27 08:37:23 +00:00
mavenCentral()
2017-06-17 08:57:10 +00:00
maven {
url 'https://maven.google.com'
}
2015-10-24 18:01:55 +00:00
}
}
2017-11-17 12:43:59 +00:00
subprojects {
project.configurations.all {
resolutionStrategy.eachDependency { details ->
if (details.requested.group == 'com.android.support'
&& !details.requested.name.contains('multidex')) {
2018-04-27 06:56:36 +00:00
details.useVersion "27.1.1"
2017-11-17 12:43:59 +00:00
}
}
}
}
2015-10-24 18:01:55 +00:00
task clean(type: Delete) {
delete rootProject.buildDir
}