1
0
Fork 0
mirror of https://github.com/M66B/NetGuard.git synced 2024-12-26 09:48:46 +00:00
NetGuard/build.gradle

42 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 {
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
2017-10-28 14:08:19 +00:00
classpath 'com.android.tools.build:gradle:3.0.+'
classpath 'com.google.gms:google-services: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 {
jcenter()
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')) {
2017-12-16 12:39:15 +00:00
details.useVersion "27.0.2"
2017-11-17 12:43:59 +00:00
}
}
}
}
2015-10-24 18:01:55 +00:00
task clean(type: Delete) {
delete rootProject.buildDir
}