-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
67 lines (53 loc) · 1.76 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
65
66
67
import org.jetbrains.compose.compose
plugins {
kotlin("jvm") version "1.5.21"
kotlin("plugin.serialization") version "1.5.21"
id("org.jetbrains.compose") version "1.0.0-alpha3"
}
group = "me.dominaezzz"
version = "1.0-SNAPSHOT"
repositories {
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
maven("https://maven.pkg.github.com/Dominaezzz/matrix-kt") {
credentials {
username = System.getenv("GITHUB_USER")
password = System.getenv("GITHUB_TOKEN")
}
}
mavenCentral()
google()
}
val ktorVersion = "1.6.2"
val coroutinesVersion = "1.5.1"
val serializationVersion = "1.2.2"
val matrixKtVersion = "0.1.5"
val sqliteVersion = "3.36.0.1"
dependencies {
implementation(compose.desktop.currentOs)
implementation(compose.materialIconsExtended)
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-core:$serializationVersion")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:$serializationVersion")
implementation("org.jetbrains.kotlinx:kotlinx-cli:0.3.2")
implementation("io.github.matrixkt:client-jvm:$matrixKtVersion")
implementation("io.github.matrixkt:olm-jvm:$matrixKtVersion")
implementation("io.ktor:ktor-client-core:$ktorVersion")
implementation("io.ktor:ktor-client-java:$ktorVersion")
implementation("io.ktor:ktor-client-logging:$ktorVersion")
implementation("org.xerial:sqlite-jdbc:$sqliteVersion")
implementation("org.jsoup:jsoup:1.13.1")
testImplementation(kotlin("test-junit"))
}
compose.desktop {
application {
mainClass = "me.dominaezzz.chitchat.MainKt"
args(projectDir.resolve("appdir").absolutePath)
}
}
tasks {
compileKotlin {
kotlinOptions {
freeCompilerArgs = listOf("-Xopt-in=kotlin.RequiresOptIn")
}
}
}