build: 优化构建脚本
This commit is contained in:
@@ -1,8 +1,10 @@
|
|||||||
|
@file:Suppress("GradlePackageVersionRange", "GradlePackageUpdate")
|
||||||
|
|
||||||
evaluationDependsOn(":core-common")
|
evaluationDependsOn(":core-common")
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(":core-common")) { isTransitive = false }
|
implementation(project(":core-common")) { isTransitive = false }
|
||||||
compileOnly("org.spigotmc:spigot-api:+")
|
compileOnly("org.spigotmc:spigot-api:1.20-R0.1-SNAPSHOT")
|
||||||
|
|
||||||
implementation("de.tr7zw:item-nbt-api:+")
|
implementation("de.tr7zw:item-nbt-api:+")
|
||||||
compileOnly("net.milkbowl.vault:VaultAPI:+") { isTransitive = false }
|
compileOnly("net.milkbowl.vault:VaultAPI:+") { isTransitive = false }
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
@file:Suppress("GradlePackageVersionRange", "GradlePackageUpdate")
|
||||||
|
|
||||||
evaluationDependsOn(":core-common")
|
evaluationDependsOn(":core-common")
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
@file:Suppress("VulnerableLibrariesLocal")
|
@file:Suppress("VulnerableLibrariesLocal", "GradlePackageUpdate", "GradlePackageVersionRange")
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("java-library")
|
id("java-library")
|
||||||
|
@@ -1,3 +1,10 @@
|
|||||||
|
pluginManagement {
|
||||||
|
repositories {
|
||||||
|
maven {
|
||||||
|
url = uri("https://maven.airgame.net/maven-public/")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
rootProject.name = "hamster-core"
|
rootProject.name = "hamster-core"
|
||||||
include("core-common")
|
include("core-common")
|
||||||
include("core-bukkit")
|
include("core-bukkit")
|
||||||
|
Reference in New Issue
Block a user