forked from cssxsh/pixiv-helper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
63 lines (54 loc) · 1.77 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
plugins {
kotlin("jvm") version "1.7.10"
kotlin("plugin.serialization") version "1.7.10"
kotlin("plugin.jpa") version "1.7.10"
id("net.mamoe.mirai-console") version "2.13.0-M1"
}
group = "xyz.cssxsh.mirai.plugin"
version = "2.0.0-RC"
repositories {
mavenLocal()
mavenCentral()
maven(url = "https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
dependencies {
implementation("org.jsoup:jsoup:1.15.3")
implementation("xyz.cssxsh.pixiv:pixiv-client:1.2.6") {
exclude(group = "org.jetbrains.kotlin")
exclude(group = "org.jetbrains.kotlinx")
exclude(group = "org.slf4j")
}
implementation("com.cronutils:cron-utils:9.2.0") {
exclude(group = "org.slf4j")
exclude(group = "org.glassfish")
exclude(group = "org.javassist")
}
compileOnly("javax.validation:validation-api:2.0.1.Final")
compileOnly("net.mamoe:mirai-core:2.13.0-M1")
compileOnly("net.mamoe:mirai-core-utils:2.13.0-M1")
// dependsOn
compileOnly("xyz.cssxsh.mirai:mirai-hibernate-plugin:2.4.4")
compileOnly("xyz.cssxsh.mirai:mirai-selenium-plugin:2.2.3")
compileOnly("xyz.cssxsh.mirai:mirai-skia-plugin:1.1.9")
testImplementation(kotlin("test"))
testImplementation("org.slf4j:slf4j-simple:2.0.0")
testImplementation("net.mamoe:mirai-logging-slf4j:2.13.0-M1")
testImplementation("xyz.cssxsh.mirai:mirai-hibernate-plugin:2.4.4")
testImplementation("xyz.cssxsh.mirai:mirai-selenium-plugin:2.2.3")
testImplementation("xyz.cssxsh.mirai:mirai-skia-plugin:1.1.9")
}
mirai {
jvmTarget = JavaVersion.VERSION_11
}
noArg {
annotation("jakarta.persistence.Entity")
annotation("jakarta.persistence.Embeddable")
}
kotlin {
explicitApi()
}
tasks {
test {
useJUnitPlatform()
}
}