-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
50 lines (42 loc) · 1.27 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
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.3.72'
id 'application'
id "com.github.johnrengelman.shadow" version "6.0.0"
}
group 'com.seemsnerdy'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
maven { url "https://kotlin.bintray.com/kotlinx" }
}
mainClassName = 'com.seemsnerdy.notebook.Main'
sourceSets {
deploy
}
jar {
manifest {
attributes(
'Main-Class': mainClassName
)
}
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
}
dependencies {
implementation 'io.reactivex.rxjava2:rxjava:2.2.19'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.9.0'
implementation "org.jetbrains.kotlinx:kotlinx-cli:0.2.1"
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.8'
implementation "com.squareup.okhttp3:logging-interceptor:4.8.1"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation 'com.squareup.retrofit2:retrofit:2.7.0'
implementation 'com.squareup.retrofit2:converter-gson:2.7.0'
implementation 'com.squareup.okhttp3:okhttp:4.3.1'
implementation 'com.google.code.gson:gson:2.8.5'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}