/
build.gradle
52 lines (40 loc) · 976 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
47
48
49
50
51
52
apply plugin: 'kotlin'
apply plugin: 'groovy'
apply plugin: 'maven'
buildscript {
ext.kotlin_version = '1.4.10'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
jar.archiveName = "Heimdall.Droid.jar"
group = 'com.github.rheinfabrik'
repositories {
mavenCentral()
jcenter()
}
dependencies {
// Kotlin
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
// Rx
implementation 'io.reactivex.rxjava2:rxjava:2.2.19'
// GSON
implementation 'com.google.code.gson:gson:2.8.6'
// Testing
testImplementation 'junit:junit:4.13'
testImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0"
testImplementation "org.mockito:mockito-inline:3.5.11"
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}