-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbuild.gradle.kts
53 lines (46 loc) · 1.52 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
plugins {
kotlin("jvm") version "1.8.22"
kotlin("plugin.serialization") version "1.8.22"
kotlin("plugin.jpa") version "1.8.22"
id("net.mamoe.mirai-console") version "2.16.0"
}
group = "xyz.cssxsh"
version = "2.0.0"
repositories {
mavenCentral()
}
dependencies {
compileOnly("xyz.cssxsh.mirai:mirai-hibernate-plugin:2.8.0")
compileOnly("xyz.cssxsh.mirai:mirai-selenium-plugin:2.5.1")
compileOnly("xyz.cssxsh.mirai:mirai-skia-plugin:1.3.2")
compileOnly("xyz.cssxsh:arknights-helper:2.3.1")
implementation("org.jsoup:jsoup:1.17.2")
implementation("xyz.cssxsh.pixiv:pixiv-client:1.3.1")
implementation("com.cronutils:cron-utils:9.2.1")
implementation("org.jcodec:jcodec:0.2.5")
implementation("org.jcodec:jcodec-javase:0.2.5")
testImplementation(kotlin("test"))
testImplementation("xyz.cssxsh.mirai:mirai-hibernate-plugin:2.8.0")
testImplementation("xyz.cssxsh.mirai:mirai-selenium-plugin:2.5.1")
testImplementation("xyz.cssxsh.mirai:mirai-skia-plugin:1.3.2")
//
implementation(platform("net.mamoe:mirai-bom:2.16.0"))
compileOnly("net.mamoe:mirai-core")
compileOnly("net.mamoe:mirai-core-utils")
compileOnly("net.mamoe:mirai-console-compiler-common")
testImplementation("net.mamoe:mirai-logging-slf4j")
//
implementation(platform("org.slf4j:slf4j-parent:2.0.12"))
testImplementation("org.slf4j:slf4j-simple")
}
mirai {
jvmTarget = JavaVersion.VERSION_11
}
kotlin {
explicitApi()
}
tasks {
test {
useJUnitPlatform()
}
}