feat: 允许数据库独立于core配置
This commit is contained in:
@@ -6,16 +6,15 @@ dependencies {
|
||||
apiShade project(":ball-common") transitive false
|
||||
|
||||
//noinspection VulnerableLibrariesLocal
|
||||
compileOnly 'org.spigotmc:spigot-api:1.19.4-R0.1-SNAPSHOT'
|
||||
compileOnly 'org.spigotmc:spigot-api:1.20.1-R0.1-SNAPSHOT'
|
||||
|
||||
compileOnly "cn.hamster3.mc.plugin:core-bukkit:${hamster_core_version}"
|
||||
compileOnly "me.clip:placeholderapi:2.11.2" transitive false
|
||||
}
|
||||
|
||||
processResources {
|
||||
inputs.property "version", project.version
|
||||
filesMatching("plugin.yml") {
|
||||
expand "version": project.version
|
||||
expand(project.properties)
|
||||
}
|
||||
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
|
||||
}
|
||||
@@ -37,6 +36,6 @@ tasks.register("shadowJar", Jar) {
|
||||
it.isDirectory() ? it : zipTree(it)
|
||||
}
|
||||
])
|
||||
destinationDir(rootProject.buildDir)
|
||||
destinationDirectory = rootProject.buildDir
|
||||
}
|
||||
tasks.build.dependsOn(shadowJar)
|
||||
|
Reference in New Issue
Block a user