mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-12-03 03:42:21 +00:00
Merge branch 'dev/26.3-wyck' into dev/26.3-port
This commit is contained in:
commit
60f3641039
75 files changed
+919
-2289
No files matched your search
@@ -22,9 +22,8 @@ repositories {
|
||||
|
||||
dependencies {
|
||||
//TODO Allow pulling from Versions.kt
|
||||
implementation("com.gradleup.shadow", "shadow-gradle-plugin", "8.3.9")
|
||||
implementation("com.gradleup.shadow", "shadow-gradle-plugin", "9.3.1")
|
||||
|
||||
implementation("io.papermc.paperweight.userdev", "io.papermc.paperweight.userdev.gradle.plugin", "2.0.0-beta.21")
|
||||
implementation("org.ow2.asm", "asm", "9.9")
|
||||
implementation("org.ow2.asm", "asm-tree", "9.9")
|
||||
implementation("com.dfsek.tectonic", "common", "4.3.1")
|
||||
|
||||
@@ -57,6 +57,9 @@ fun Project.configureDependencies() {
|
||||
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/") {
|
||||
name = "Sonatype Snapshots"
|
||||
}
|
||||
maven("https://repo.wyck.dev/snapshots") {
|
||||
name = "Wyck Snapshots"
|
||||
}
|
||||
maven("https://repo.onarandombox.com/multiverse-releases") {
|
||||
name = "onarandombox"
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
|
||||
import io.papermc.paperweight.util.path
|
||||
import java.io.File
|
||||
import java.io.FileWriter
|
||||
import java.net.URL
|
||||
@@ -81,7 +80,7 @@ fun Project.configureDistribution() {
|
||||
|
||||
doLast {
|
||||
// https://github.com/johnrengelman/shadow/issues/111
|
||||
val dest = tasks.named<ShadowJar>("shadowJar").get().archiveFile.get().path
|
||||
val dest = tasks.named<ShadowJar>("shadowJar").get().archiveFile.get().asFile.toPath()
|
||||
installAddonsInto(dest)
|
||||
}
|
||||
}
|
||||
@@ -91,7 +90,7 @@ fun Project.configureDistribution() {
|
||||
dependsOn(compileAddons)
|
||||
|
||||
doLast {
|
||||
val dest = tasks.named<Jar>("jar").get().archiveFile.get().path
|
||||
val dest = tasks.named<Jar>("jar").get().archiveFile.get().asFile.toPath()
|
||||
installAddonsInto(dest)
|
||||
}
|
||||
}
|
||||
@@ -161,7 +160,7 @@ fun Project.configureDistribution() {
|
||||
tasks.named<ShadowJar>("shadowJar") {
|
||||
// Tell shadow to download the packs
|
||||
dependsOn(downloadDefaultPacks)
|
||||
configurations = listOf(project.configurations["shaded"])
|
||||
configurations.set(listOf(project.configurations["shaded"]))
|
||||
archiveClassifier.set("shaded")
|
||||
version = project.version
|
||||
relocate("org.apache.commons", "com.dfsek.terra.lib.commons")
|
||||
|
||||
@@ -19,7 +19,7 @@ object Versions {
|
||||
const val slf4j = "2.0.17"
|
||||
|
||||
object Internal {
|
||||
const val shadow = "8.3.9"
|
||||
const val shadow = "9.3.1"
|
||||
const val apacheText = "1.14.0"
|
||||
const val apacheIO = "2.20.0"
|
||||
const val guava = "33.5.0-jre"
|
||||
@@ -59,16 +59,11 @@ object Versions {
|
||||
// }
|
||||
|
||||
object Bukkit {
|
||||
const val minecraft = "26.1.2"
|
||||
const val nms = "$minecraft-R0.1"
|
||||
const val paperBuild = "26.1.2.build.60-stable"
|
||||
const val minecraft = "26.3"
|
||||
const val paperBuild = "$minecraft.build.244-stable"
|
||||
const val paper = paperBuild
|
||||
const val paperLib = "1.0.8"
|
||||
const val reflectionRemapper = "0.1.3"
|
||||
const val paperDevBundle = paperBuild
|
||||
const val paperDevBundle26_3 = "26.3.build.156-beta"
|
||||
const val runPaper = "3.0.2"
|
||||
const val paperWeight = "2.0.0-beta.21"
|
||||
const val wyck = "4.0.0-837d6ec"
|
||||
const val cloud = "2.0.1"
|
||||
const val multiverse = "5.3.0"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user