Files
CraterLib/patches/1.21/build.gradle.patch

41 lines
1.1 KiB
Diff
Raw Normal View History

--- a/build.gradle
+++ b/build.gradle
2025-06-17 19:18:23 +02:00
@@ -3,26 +3,20 @@
id 'com.github.johnrengelman.shadow' version '8.1.1' apply false
id "xyz.wagyourtail.unimined" version "1.3.9" apply false
id "com.hypherionmc.modutils.modpublisher" version "2.1.6"
- id "com.hypherionmc.modutils.orion" version "1.0.28"
- id "com.hypherionmc.modutils.orion.origami" version "1.0.28" apply false
+ id "com.hypherionmc.modutils.orion" version "1.0.24"
+ id "com.hypherionmc.modutils.orion.origami" version "1.0.24" apply false
2024-10-12 13:54:44 +02:00
id 'maven-publish'
}
2024-10-12 13:54:44 +02:00
-var relType = project.properties["releaseType"] ?: "${release_type}"
-
2024-10-12 13:54:44 +02:00
-ext {
2025-03-25 19:49:02 +02:00
- isPort = false //(relType == 'experimental')
2024-10-12 13:54:44 +02:00
-}
-
orion.setup {
multiProject = true
enableMirrorMaven = true
enableReleasesMaven = true
2025-03-25 19:49:02 +02:00
- enableSnapshotsMaven = isPort
2024-10-12 13:54:44 +02:00
dopplerToken = System.getenv("DOPPLER_KEY")
versioning {
+ var relType = project.properties["releaseType"] ?: "${release_type}"
identifier("${relType}")
}
}
2024-10-22 20:13:32 +02:00
@@ -47,7 +41,6 @@
2024-10-12 13:54:44 +02:00
repositories {
mavenCentral()
- mavenLocal()
maven {
name = "Modrinth"