feat: 允许数据库独立于core配置

This commit is contained in:
2023-08-12 12:59:52 +08:00
parent 11327d368e
commit fa7f07657f
12 changed files with 251 additions and 63 deletions

View File

@@ -6,15 +6,14 @@ dependencies {
apiShade project(":ball-common") transitive false
//noinspection VulnerableLibrariesLocal
compileOnly 'net.md-5:bungeecord-api:1.19-R0.1-SNAPSHOT' exclude group: 'io.netty'
compileOnly 'net.md-5:bungeecord-api:1.20-R0.1-SNAPSHOT' exclude group: 'io.netty'
compileOnly "cn.hamster3.mc.plugin:core-bungeecord:${hamster_core_version}"
}
processResources {
inputs.property "version", project.version
filesMatching("bungee.yml") {
expand "version": project.version
expand(project.properties)
}
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
}
@@ -36,6 +35,6 @@ tasks.register("shadowJar", Jar) {
it.isDirectory() ? it : zipTree(it)
}
])
destinationDir(rootProject.buildDir)
destinationDirectory = rootProject.buildDir
}
tasks.build.dependsOn(shadowJar)