forked from Colter23/bilibili-dynamic-mirai-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
46 lines (39 loc) · 1.59 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
plugins {
val kotlinVersion = "1.6.21"
kotlin("jvm") version kotlinVersion
kotlin("plugin.serialization") version kotlinVersion
id("net.mamoe.mirai-console") version "2.11.1"
}
group = "top.colter"
version = "3.0.0-BETA1.1"
repositories {
mavenLocal()
maven("https://maven.aliyun.com/repository/public")
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
maven("https://jitpack.io")
mavenCentral()
}
dependencies{
implementation("com.google.zxing:javase:3.4.1")
implementation("io.ktor:ktor-client-serialization:1.6.7") {
exclude(group = "org.jetbrains.kotlin")
exclude(group = "org.jetbrains.kotlinx")
exclude(group = "org.slf4j")
exclude(group = "io.ktor", module = "ktor-client-core")
}
implementation("io.ktor:ktor-client-encoding:1.6.7") {
exclude(group = "org.jetbrains.kotlin")
exclude(group = "org.jetbrains.kotlinx")
exclude(group = "org.slf4j")
exclude(group = "io.ktor", module = "ktor-client-core")
}
val skikoVersion = "0.7.12"
//api("org.jetbrains.skiko:skiko-awt:0.7.20")
//临时
implementation("org.jetbrains.skiko:skiko-awt-runtime-linux-x64:$skikoVersion")
implementation("org.jetbrains.skiko:skiko-awt-runtime-windows-x64:$skikoVersion")
implementation("org.jetbrains.skiko:skiko-awt-runtime-linux-arm64:$skikoVersion")
implementation("org.jetbrains.skiko:skiko-awt-runtime-macos-x64:$skikoVersion")
implementation("org.jetbrains.skiko:skiko-awt-runtime-macos-arm64:$skikoVersion")
testImplementation(kotlin("test", "1.6.21"))
}