1
1
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2
2
3
3
plugins {
4
- val kotlinVersion = " 1.6 .21"
4
+ val kotlinVersion = " 1.8 .21"
5
5
kotlin(" jvm" ) version kotlinVersion
6
6
kotlin(" plugin.serialization" ) version kotlinVersion
7
7
8
-
9
8
id(" org.jetbrains.kotlin.plugin.noarg" ) version kotlinVersion
10
9
id(" org.jetbrains.kotlin.plugin.allopen" ) version kotlinVersion
11
- id(" net.mamoe.mirai-console" ) version " 2.15.0-M1 "
10
+ id(" net.mamoe.mirai-console" ) version " 2.16.0 "
12
11
id(" me.him188.maven-central-publish" ) version " 1.0.0-dev-3"
13
12
}
14
13
15
14
group = " com.hcyacg"
16
- version = " 1.7.6 "
15
+ version = " 1.7.7 "
17
16
18
17
repositories {
18
+ // maven("https://maven.aliyun.com/repository/public")
19
19
// mavenLocal()
20
20
// maven("https://maven.aliyun.com/repository/gradle-plugin")
21
21
// maven("https://maven.aliyun.com/repository/central")
22
+ maven(" https://s01.oss.sonatype.org/content/repositories/snapshots" )
22
23
mavenCentral()
24
+ // maven("https://s01.oss.sonatype.org/content/repositories/snapshots")
25
+ }
26
+
27
+ mirai {
28
+ noTestCore = true
29
+ setupConsoleTestRuntime {
30
+ // 移除 mirai-core 依赖
31
+ classpath = classpath.filter {
32
+ ! it.nameWithoutExtension.startsWith(" mirai-core-jvm" )
33
+ }
34
+ }
23
35
}
36
+
24
37
dependencies {
38
+ val overflowVersion = " 2.16.0-febc5da-SNAPSHOT"
39
+ // compileOnly("top.mrxiaom:overflow-core-api:$overflowVersion")
40
+ // testConsoleRuntime("top.mrxiaom:overflow-core:$overflowVersion")
41
+ testConsoleRuntime(" top.mrxiaom:overflow-core:$overflowVersion " )
42
+
25
43
implementation(" org.apache.commons:commons-lang3:3.12.0" )
26
44
implementation(" commons-codec:commons-codec:1.15" )
27
45
implementation(" org.apache.httpcomponents:httpclient:4.5.13" )
@@ -31,6 +49,7 @@ dependencies {
31
49
compileOnly(" org.bytedeco:javacv-platform:1.5.7" )
32
50
// compileOnly
33
51
implementation(kotlin(" stdlib-jdk8" ))
52
+
34
53
}
35
54
36
55
noArg {
0 commit comments