-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
49 lines (40 loc) · 1.03 KB
/
build.gradle.kts
File metadata and controls
49 lines (40 loc) · 1.03 KB
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
plugins {
kotlin("jvm") version "2.2.0"
id("com.gradleup.shadow") version "9.2.2"
kotlin("plugin.serialization") version "2.2.0"
}
group = "me.max.valet"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
maven {
url = uri("https://jitpack.io")
}
}
dependencies {
// requests
implementation("com.squareup.okhttp3:okhttp:4.12.0")
implementation("com.google.code.gson:gson:2.10.1")
// CLI
implementation("io.github.revxrsal:lamp.common:4.0.0-rc.5")
implementation("io.github.revxrsal:lamp.cli:4.0.0-rc.5")
implementation("com.github.nazmulidris:color-console:1.0.0")
// mongo
implementation("org.litote.kmongo:kmongo-serialization:4.11.0")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0")
}
kotlin {
jvmToolchain(21)
}
tasks {
shadowJar {
archiveClassifier.set("")
manifest {
attributes["Main-Class"] = "me.max.valet.Valet"
}
mergeServiceFiles()
}
build {
dependsOn(shadowJar)
}
}