-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
59 lines (41 loc) · 1.36 KB
/
build.gradle.kts
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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.6.0"
application
}
group = "su.update"
version = "1.0-SNAPSHOT"
val grpcKotlinVersion = "1.2.0"
repositories {
// mavenLocal()
mavenCentral()
jcenter()
maven(url = "https://jitpack.io") {}
}
dependencies {
testImplementation(kotlin("test"))
testImplementation("org.slf4j", "slf4j-simple", "1.7.26")
implementation("org.slf4j", "slf4j-simple", "1.7.30")
implementation(fileTree("libs"))
implementation ("joda-time:joda-time:2.10.13")
implementation("khttp:khttp:1.0.0")
implementation("com.squareup.okhttp3:okhttp:4.9.2")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2")
implementation("io.github.microutils:kotlin-logging-jvm:2.0.11")
implementation("io.grpc:grpc-kotlin-stub:$grpcKotlinVersion")
implementation ("io.grpc:grpc-stub:1.42.1")
implementation("com.google.protobuf:protobuf-kotlin:3.19.1")
implementation ("io.grpc:grpc-netty-shaded:1.42.1")
implementation ("io.grpc:grpc-protobuf:1.42.1")
implementation("com.github.uchuhimo:konf:master-SNAPSHOT")
implementation("org.jetbrains.kotlinx:kotlinx-cli:0.3.3")
}
tasks.test {
useJUnitPlatform()
}
tasks.withType<KotlinCompile>() {
kotlinOptions.jvmTarget = "1.8"
}
application {
mainClass.set("MainKt")
}