mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-12-01 18:34:14 +00:00
Merge PR #568 (Wyck) from OakLoaf
This commit is contained in:
commit
12a5c8b1f5
60 files changed
+646
-1798
No files matched your search
@@ -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,12 @@ 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