-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
47 lines (37 loc) · 1.43 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
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.3.31'
id 'idea'
id 'com.palantir.git-version' version '0.12.0-rc2'
}
group 'io.muratovv'
sourceCompatibility = 1.8
version = gitVersion()
repositories {
mavenCentral()
}
dependencies {
// ----------------------------------------| main dependencies |----------------------------------------------------
// kotlin lib
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
// logging
implementation group: 'io.github.microutils', name: 'kotlin-logging', version: '1.6.26'
implementation group: 'org.slf4j', name: 'slf4j-api', version: '1.7.26'
implementation group: 'org.apache.logging.log4j', name: 'log4j-slf4j-impl', version: '2.11.2'
implementation group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.11.2'
// rx
implementation group: 'io.reactivex.rxjava2', name: 'rxjava', version: '2.2.9'
implementation group: 'io.reactivex.rxjava2', name: 'rxkotlin', version: '2.3.0'
// ----------------------------------------| test dependencies |----------------------------------------------------
testImplementation group: 'io.mockk', name: 'mockk', version: '+'
testImplementation group: 'io.kotlintest', name: 'kotlintest-runner-junit5', version: '3.3.2'
}
test {
useJUnitPlatform()
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}