build.gradle 843 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
		maven { url "https://jitpack.io" }
9
	}
10 11 12 13 14 15 16 17
	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')
		}
	}
18 19 20 21
}

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

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