File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11plugins {
2- val kotlinVersion = " 1.6.10 "
2+ val kotlinVersion = " 1.8.0 "
33 kotlin(" jvm" ) version kotlinVersion
44 kotlin(" plugin.serialization" ) version kotlinVersion
55
6- id(" net.mamoe.mirai-console" ) version " 2.13.2 "
6+ id(" net.mamoe.mirai-console" ) version " 2.16.0 "
77}
88
99group = " org.example"
@@ -15,3 +15,20 @@ repositories {
1515 }
1616 mavenCentral()
1717}
18+
19+ mirai {
20+ noTestCore = true
21+ setupConsoleTestRuntime {
22+ // 移除 mirai-core 依赖
23+ classpath = classpath.filter {
24+ ! it.nameWithoutExtension.startsWith(" mirai-core-jvm" )
25+ }
26+ }
27+ }
28+
29+ dependencies {
30+
31+ val overflowVersion = " 2.16.0"
32+ compileOnly(" top.mrxiaom:overflow-core-api:$overflowVersion " )
33+ testConsoleRuntime(" top.mrxiaom:overflow-core:$overflowVersion " )
34+ }
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-7.3 .1-all.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.6 .1-all.zip
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments