build.gradle 806 Bytes
Newer Older
1
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2 3

allprojects {
4
	repositories {
5 6
		jcenter()
		mavenLocal()
7
		google()
8
	}
9 10 11 12 13 14 15 16
	afterEvaluate {
		tasks.withType(Test) {
			// Allow tests to be re-run if any optional tests are enabled
			outputs.upToDateWhen { System.getenv("OPTIONAL_TESTS") == null }
			// Use entropy-gathering device specified on command line, if any
			systemProperty 'java.security.egd', System.getProperty('java.security.egd')
		}
	}
17 18 19 20
}

buildscript {
	repositories {
21
		jcenter()
22
		mavenLocal()
23
		google()
24
		maven {
25
			url 'https://plugins.gradle.org/m2/'
26
		}
27
	}
28

29
	dependencies {
30
		classpath 'com.android.tools.build:gradle:3.2.1'
31
		classpath 'ru.vyarus:gradle-animalsniffer-plugin:1.4.6'
akwizgran's avatar
akwizgran committed
32
		classpath files('libs/gradle-witness.jar')
33
	}
34
}