-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
56 lines (49 loc) · 1.74 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.7.10"
kotlin("plugin.serialization") version "1.7.10"
id("com.github.johnrengelman.shadow") version "7.1.2"
application
}
group = "me.ianrumac"
version = "1.0"
repositories {
mavenCentral()
maven("https://jitpack.io")
val libs = listOf("flow-machine", "parser-multiplatform")
for (lib in libs) {
maven {
url = uri("https://maven.pkg.github.com/lotuslambda/${lib}")
credentials {
username = "ianrumac"
password = System.getenv("GH_TOKEN")?:"Error - need gh token to proceed"
}
}
}
}
dependencies {
implementation("org.slf4j:slf4j-nop:1.7.36")
implementation("org.rauschig:jarchivelib:0.7.1")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2")
implementation("com.github.ajalt.clikt:clikt:3.4.1")
implementation("com.lotuslambda.engine:flow-machine:0.1.1-SNAPSHOT")
implementation("com.lotuslambda.parser:parsermultiplatform:0.1.0")
implementation("io.ktor:ktor-server-core:1.6.8")
implementation("io.ktor:ktor-server-cio:1.6.8")
implementation("io.ktor:ktor-websockets:1.6.8")
implementation("com.google.zxing:core:3.4.1")
implementation("com.github.sorleone:TermQRCode:master-SNAPSHOT")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.2")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.1")
implementation("com.github.ajalt.mordant:mordant:2.0.0-beta2")
testImplementation(kotlin("test"))
}
tasks.test {
useJUnitPlatform()
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
application {
mainClass.set("MainKt")
}