generated from project-mirai/mirai-console-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 16
/
build.gradle.kts
58 lines (50 loc) · 1.86 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
plugins {
val kotlinVersion = "1.7.20"
kotlin("jvm") version kotlinVersion
kotlin("plugin.serialization") version kotlinVersion
id("net.mamoe.mirai-console") version "2.15.0"
id("me.him188.maven-central-publish") version "1.0.0-dev-3"
}
group = "top.colter"
version = "3.2.12"
repositories {
mavenLocal()
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
mavenCentralPublish {
useCentralS01()
singleDevGithubProject("Colter23", "bilibili-dynamic-mirai-plugin")
licenseFromGitHubProject("AGPL-3.0", "master")
publication {
artifact(tasks.getByName("buildPlugin"))
}
}
dependencies {
implementation("io.ktor:ktor-client-okhttp:2.1.3") {
exclude(group = "org.jetbrains.kotlin")
exclude(group = "org.jetbrains.kotlinx")
exclude(group = "org.slf4j")
}
implementation("io.ktor:ktor-client-encoding:2.1.3") {
exclude(group = "org.jetbrains.kotlin")
exclude(group = "org.jetbrains.kotlinx")
exclude(group = "org.slf4j")
}
implementation("io.ktor:ktor-serialization-kotlinx-json:2.1.3") {
exclude(group = "org.jetbrains.kotlin")
exclude(group = "org.jetbrains.kotlinx")
exclude(group = "org.slf4j")
}
implementation("com.google.zxing:javase:3.5.0")
compileOnly("xyz.cssxsh.mirai:mirai-skia-plugin:1.3.1")
testImplementation(kotlin("test", "1.7.0"))
testImplementation("org.jetbrains.skiko:skiko-awt-runtime-windows-x64:0.7.27")
testImplementation("org.jetbrains.skiko:skiko-awt-runtime-linux-x64:0.7.27")
testImplementation("org.jetbrains.skiko:skiko-awt-runtime-linux-arm64:0.7.27")
testImplementation("org.jetbrains.skiko:skiko-awt-runtime-macos-x64:0.7.27")
testImplementation("org.jetbrains.skiko:skiko-awt-runtime-macos-arm64:0.7.27")
}
mirai {
jvmTarget = JavaVersion.VERSION_11
}