mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-24 09:06:39 +00:00
Use latest fancy gradle features to not do that dumb string bullshit from before
Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
This commit is contained in:
@@ -15,18 +15,16 @@ val paperURL = "https://papermc.io/api/v1/paper/%version%/latest/download/"
|
||||
val purpurURL = "https://ci.pl3x.net/job/Purpur/lastSuccessfulBuild/artifact/final/purpurclip.jar"
|
||||
|
||||
dependencies {
|
||||
"shadedApi"(project(":common:implementation:base"))
|
||||
shadedApi(project(":common:implementation:base"))
|
||||
|
||||
shadedImplementation("org.slf4j:slf4j-log4j12:1.7.32")
|
||||
|
||||
"compileOnly"("io.papermc.paper:paper-api:1.17-R0.1-SNAPSHOT")
|
||||
"shadedImplementation"("io.papermc:paperlib:1.0.5")
|
||||
compileOnly("io.papermc.paper:paper-api:1.17-R0.1-SNAPSHOT")
|
||||
shadedImplementation("io.papermc:paperlib:1.0.5")
|
||||
|
||||
"shadedImplementation"("org.bstats:bstats-bukkit:1.7")
|
||||
shadedImplementation("org.bstats:bstats-bukkit:1.7")
|
||||
|
||||
"compileOnly"("com.sk89q.worldedit:worldedit-bukkit:7.2.0-SNAPSHOT")
|
||||
|
||||
"shadedApi"("com.google.guava:guava:30.0-jre")
|
||||
shadedApi("com.google.guava:guava:30.0-jre")
|
||||
}
|
||||
|
||||
val jvmFlags = listOf(
|
||||
|
||||
@@ -22,14 +22,14 @@ val fabricLoader = "0.12.5"
|
||||
|
||||
|
||||
dependencies {
|
||||
"shadedApi"(project(":common:implementation:base"))
|
||||
shadedApi(project(":common:implementation:base"))
|
||||
|
||||
shadedImplementation("org.slf4j:slf4j-log4j12:1.7.32")
|
||||
// shadedImplementation("org.apache.logging.log4j:log4j-slf4j-impl:2.8.1")
|
||||
|
||||
"minecraft"("com.mojang:minecraft:$minecraft")
|
||||
"mappings"("net.fabricmc:yarn:$minecraft+build.$yarn:v2")
|
||||
"modImplementation"("net.fabricmc:fabric-loader:$fabricLoader")
|
||||
minecraft("com.mojang:minecraft:$minecraft")
|
||||
mappings("net.fabricmc:yarn:$minecraft+build.$yarn:v2")
|
||||
modImplementation("net.fabricmc:fabric-loader:$fabricLoader")
|
||||
}
|
||||
|
||||
tasks.withType<JavaCompile>().configureEach {
|
||||
|
||||
@@ -3,7 +3,7 @@ val platformOverrides = mapOf(
|
||||
)
|
||||
|
||||
dependencies {
|
||||
"shadedApi"(project(":common:implementation"))
|
||||
shadedApi(project(":common:implementation"))
|
||||
}
|
||||
|
||||
val taskSet = HashSet<AbstractArchiveTask>()
|
||||
|
||||
@@ -9,14 +9,14 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
"shadedApi"(project(":common:implementation:base"))
|
||||
shadedApi(project(":common:implementation:base"))
|
||||
|
||||
shadedImplementation("org.slf4j:slf4j-log4j12:1.7.32")
|
||||
// "shadedImplementation"("org.apache.logging.log4j:log4j-slf4j-impl:2.8.1")
|
||||
|
||||
"annotationProcessor"("org.spongepowered:spongeapi:9.0.0-SNAPSHOT")
|
||||
"shadedImplementation"("org.spongepowered:spongeapi:9.0.0-SNAPSHOT")
|
||||
"annotationProcessor"("org.spongepowered:mixin:0.8.2:processor")
|
||||
annotationProcessor("org.spongepowered:spongeapi:9.0.0-SNAPSHOT")
|
||||
shadedImplementation("org.spongepowered:spongeapi:9.0.0-SNAPSHOT")
|
||||
annotationProcessor("org.spongepowered:mixin:0.8.2:processor")
|
||||
}
|
||||
|
||||
minecraft {
|
||||
|
||||
Reference in New Issue
Block a user