mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-12-03 03:42:21 +00:00
Merge PR #565 (Minestom 26.3) from Bloeckchengrafik
This commit is contained in:
commit
64bb7c5c99
28 files changed
+10225
-1
No files matched your search
@@ -63,6 +63,12 @@ fun Project.configureDependencies() {
|
||||
maven("https://repo.onarandombox.com/multiverse-releases") {
|
||||
name = "onarandombox"
|
||||
}
|
||||
maven(url = "https://central.sonatype.com/repository/maven-snapshots/") {
|
||||
content {
|
||||
includeModule("net.minestom", "minestom")
|
||||
includeModule("net.minestom", "testing")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
@@ -42,6 +42,16 @@ private fun Project.installAddonsInto(dest: Path) {
|
||||
|
||||
fun Project.configureDistribution() {
|
||||
apply(plugin = "com.gradleup.shadow")
|
||||
|
||||
listOf("jar", "shadowJar").forEach { taskName ->
|
||||
tasks.named<Jar>(taskName) {
|
||||
manifest.attributes(mapOf(
|
||||
"Implementation-Title" to "Terra",
|
||||
"Implementation-Version" to project.version.toString(),
|
||||
"Terra-Platform" to project.name
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
val downloadDefaultPacks = tasks.create("downloadDefaultPacks") {
|
||||
group = "terra"
|
||||
|
||||
@@ -91,6 +91,6 @@ object Versions {
|
||||
}
|
||||
|
||||
object Minestom {
|
||||
const val minestom = "2025.12.20c-1.21.11"
|
||||
const val minestom = "26_3-SNAPSHOT"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user