-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
63 lines (52 loc) · 1.7 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
plugins {
id 'java'
id 'application'
id 'maven-publish'
id 'org.jetbrains.kotlin.plugin.serialization' version '1.5.31'
id 'org.jetbrains.kotlin.jvm' version '1.6.0'
}
group 'dev.ajkneisl'
version '2.2.0'
sourceCompatibility = 1.8
repositories {
maven { url 'https://jitpack.io' }
mavenCentral()
}
afterEvaluate {
publishing {
publications {
release(MavenPublication) {
groupId = "com.github.ajkneisl"
artifactId = "lib"
version = "2.1"
from components.java
}
}
}
}
dependencies {
implementation 'io.ktor:ktor-client-core:2.0.1'
implementation 'io.ktor:ktor-client-cio:2.0.1'
implementation 'io.ktor:ktor-client-serialization:2.0.1'
implementation 'io.ktor:ktor-client-jackson:2.0.1'
implementation "io.ktor:ktor-serialization-kotlinx-json:2.0.1"
implementation "io.ktor:ktor-client-content-negotiation:2.0.1"
implementation group: 'junit', name: 'junit', version: '4.12'
implementation group: 'org.json', name: 'json', version: '20180813'
implementation group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1'
implementation 'ch.qos.logback:logback-classic:1.2.8'
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2-native-mt'
implementation group: 'org.jetbrains.kotlin', name: 'kotlin-reflect', version: '1.3.31'
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.1")
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}