-
Notifications
You must be signed in to change notification settings - Fork 15
/
build.gradle
61 lines (49 loc) · 1.41 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:3.4.0-alpha07'
classpath 'com.google.gms:google-services:4.2.0'
classpath 'com.dicedmelon.gradle:jacoco-android:0.1.1'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.10'
}
repositories {
google()
jcenter()
}
}
apply plugin: 'com.android.library'
//apply plugin: 'jacoco-android'
apply plugin: 'kotlin-android'
apply from: file('gradle/git-release-notes.gradle')
apply from: file('gradle/gradle-mvn-push.gradle')
android {
compileSdkVersion 28
defaultConfig {
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
minSdkVersion 14
targetSdkVersion 28
}
sourceSets {
main.java.srcDirs 'src/main/kotlin'
test.java.srcDirs 'src/test/kotlin'
}
}
repositories {
google()
jcenter()
}
dependencies {
implementation 'com.google.android.gms:play-services-tasks:16.0.1'
implementation 'org.jetbrains.kotlin:kotlin-scripting-jvm:1.3.11'
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.3.10'
implementation 'io.reactivex.rxjava2:rxjava:2.2.4'
testImplementation 'junit:junit:4.12'
testImplementation 'com.google.truth:truth:0.34'
testImplementation 'org.mockito:mockito-core:2.23.0'
testImplementation 'com.nhaarman:mockito-kotlin-kt1.1:1.6.0'
}
tasks
.withType(Javadoc)
.all { enabled = false }