-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
45 lines (39 loc) · 1.16 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
ext {
buildToolsVersion = '28.0.2'
compileSdkVersion = 28
targetSdkVersion = 28
minSdkVersion = 19
// There are a number of consumers using outdated tools (for example, some users on older
// versions of Unity) that seem to break when the libraries are built with Java 8. This
// situation may improve after the Google Play target API level requirement takes effect later
// in 2018. Until then, we're simply sticking with Java 7.
sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_7
}
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.4'
classpath 'com.google.android.gms:strict-version-matcher-plugin:1.0.3'
classpath 'digital.wup:android-maven-publish:3.6.2'
}
}
allprojects {
repositories {
google()
jcenter()
}
}
allprojects {
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << '-Xlint:unchecked' << '-Xlint:deprecation'
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}