-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
64 lines (56 loc) · 1.66 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
60
61
62
63
64
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
plugins {
val kotlinVersion = "2.1.0"
kotlin("jvm") version kotlinVersion
kotlin("plugin.serialization") version kotlinVersion
id("org.sirekanyan.version-checker") version "1.0.13"
application
}
group = "com.sirekanyan"
version = "1.0"
repositories {
mavenCentral()
mavenLocal {
content {
includeModule("org.sirekanyan", "telegram-bots")
}
}
}
dependencies {
implementation("org.sirekanyan:telegram-bots:8.0.0")
implementation("org.telegram:telegrambots-client:8.0.0")
implementation("io.ktor:ktor-client-cio:3.0.2")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.3")
implementation("org.jetbrains.exposed:exposed-jdbc:0.57.0")
implementation("org.jetbrains.lets-plot:lets-plot-common:4.5.2")
implementation("org.jetbrains.lets-plot:lets-plot-image-export:4.5.2")
implementation("org.jetbrains.lets-plot:lets-plot-kotlin-jvm:4.9.2")
implementation("org.postgresql:postgresql:42.7.4")
implementation("org.slf4j:slf4j-simple:2.0.16")
testImplementation("junit:junit:4.13.2")
}
application {
mainClass.set("com.sirekanyan.andersrobot.Main")
if (hasProperty("debug")) {
applicationDefaultJvmArgs = listOf("-Ddebug")
}
}
distributions {
main {
contents {
from("bot.properties")
from("data") { into("data") }
}
}
}
kotlin {
jvmToolchain(17)
compilerOptions {
jvmTarget = JvmTarget.JVM_11
allWarningsAsErrors = true
}
}
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}