build: 优化构建脚本
This commit is contained in:
@@ -3,9 +3,7 @@ setArchivesBaseName("HamsterBall-Bukkit")
|
|||||||
evaluationDependsOn(':hamster-ball-common')
|
evaluationDependsOn(':hamster-ball-common')
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
apiShade(project(":hamster-ball-common")) {
|
apiShade(project(":hamster-ball-common")) { transitive = false }
|
||||||
exclude group: "*"
|
|
||||||
}
|
|
||||||
|
|
||||||
compileOnly 'org.spigotmc:spigot-api:1.12.2-R0.1-SNAPSHOT'
|
compileOnly 'org.spigotmc:spigot-api:1.12.2-R0.1-SNAPSHOT'
|
||||||
|
|
||||||
|
@@ -3,9 +3,7 @@ setArchivesBaseName("HamsterBall-BungeeCord")
|
|||||||
evaluationDependsOn(':hamster-ball-common')
|
evaluationDependsOn(':hamster-ball-common')
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
apiShade(project(":hamster-ball-common")) {
|
apiShade(project(":hamster-ball-common")) { transitive = false }
|
||||||
exclude group: "*"
|
|
||||||
}
|
|
||||||
|
|
||||||
compileOnly 'net.md-5:bungeecord-api:1.19-R0.1-SNAPSHOT'
|
compileOnly 'net.md-5:bungeecord-api:1.19-R0.1-SNAPSHOT'
|
||||||
|
|
||||||
|
@@ -3,9 +3,7 @@ setArchivesBaseName("HamsterBall-Server")
|
|||||||
evaluationDependsOn(':hamster-ball-common')
|
evaluationDependsOn(':hamster-ball-common')
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
apiShade(project(":hamster-ball-common")) {
|
apiShade(project(":hamster-ball-common")) { transitive = false }
|
||||||
exclude group: "*"
|
|
||||||
}
|
|
||||||
|
|
||||||
// https://mvnrepository.com/artifact/org.slf4j/slf4j-api
|
// https://mvnrepository.com/artifact/org.slf4j/slf4j-api
|
||||||
implementation 'org.slf4j:slf4j-api:2.0.3'
|
implementation 'org.slf4j:slf4j-api:2.0.3'
|
||||||
@@ -20,7 +18,7 @@ dependencies {
|
|||||||
// https://mvnrepository.com/artifact/org.yaml/snakeyaml
|
// https://mvnrepository.com/artifact/org.yaml/snakeyaml
|
||||||
implementationShade 'org.yaml:snakeyaml:1.33'
|
implementationShade 'org.yaml:snakeyaml:1.33'
|
||||||
// https://mvnrepository.com/artifact/com.google.code.gson/gson
|
// https://mvnrepository.com/artifact/com.google.code.gson/gson
|
||||||
implementation 'com.google.code.gson:gson:2.9.1'
|
implementationShade 'com.google.code.gson:gson:2.10'
|
||||||
|
|
||||||
|
|
||||||
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.0'
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.0'
|
||||||
|
Reference in New Issue
Block a user