-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
67 lines (56 loc) · 1.57 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
62
63
64
65
66
67
buildscript {
ext.kotlin_version = '2.1.0'
ext.spek_version = '2.0.19'
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id 'pl.allegro.tech.build.axion-release' version '1.18.16'
}
apply plugin: 'kotlin'
apply plugin: 'jacoco'
project.version = scmVersion.version
group='com.github.unhappychoice'
scmVersion {
tag {
prefix = ''
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.squareup.retrofit2:retrofit:2.11.0'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.11.0'
implementation 'com.squareup.retrofit2:converter-gson:2.11.0'
implementation 'commons-codec:commons-codec:1.17.2'
implementation 'io.reactivex.rxjava2:rxkotlin:2.4.0'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
testImplementation 'junit:junit:4.13.2'
testImplementation "com.winterbe:expekt:0.5.0"
testImplementation "org.spekframework.spek2:spek-dsl-jvm:$spek_version"
testRuntimeOnly "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
testRuntimeOnly "org.spekframework.spek2:spek-runner-junit5:$spek_version"
}
test {
useJUnitPlatform {
includeEngines 'spek2'
}
}
jacocoTestReport {
reports {
xml.enabled = true
html.enabled = true
}
}
repositories {
jcenter()
mavenCentral()
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
test.java.srcDirs += 'src/test/kotlin'
}