forked from Evernote/android-state
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
46 lines (38 loc) · 977 Bytes
/
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
46
buildscript {
ext.kotlinVersion = '1.1.2'
ext.useRetroLambda = true
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.1'
classpath 'com.github.ben-manes:gradle-versions-plugin:0.14.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
if (project.ext.useRetroLambda) {
classpath 'me.tatarka:gradle-retrolambda:3.6.1'
}
}
}
allprojects {
repositories {
jcenter()
mavenCentral()
}
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked"
}
}
ext {
compileSdkVersion = 25
targetSdkVersion = compileSdkVersion
minSdkVersion = 14
buildToolsVersion = '25.0.2'
supportLibVersion = '25.3.1'
junitVersion = '4.12'
assertjVersion = '3.6.2'
lintVersion = '25.3.0'
}
task wrapper(type: Wrapper) {
gradleVersion = '3.5'
distributionType = 'ALL'
}