[DEV] Update Porting Patches
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
--- a/Common/build.gradle
|
||||
+++ b/Common/build.gradle
|
||||
@@ -1,7 +1,7 @@
|
||||
archivesBaseName = "${mod_name.replace(" ", "")}-Common-${minecraft_version}"
|
||||
|
||||
dependencies {
|
||||
-
|
||||
+ stupidRemapArch("dev.ftb.mods:ftb-essentials:${ftb_essentials}")
|
||||
}
|
||||
|
||||
shadowJar {
|
@@ -1,14 +1,14 @@
|
||||
--- a/Fabric/build.gradle
|
||||
+++ b/Fabric/build.gradle
|
||||
@@ -9,6 +9,7 @@
|
||||
exclude(group: "net.fabricmc.fabric-api")
|
||||
@@ -10,7 +10,6 @@
|
||||
}
|
||||
|
||||
+ stupidRemapArch("dev.ftb.mods:ftb-essentials:${ftb_essentials}")
|
||||
stupidRemapArch("dev.ftb.mods:ftb-essentials:${ftb_essentials}")
|
||||
-
|
||||
modImplementation "maven.modrinth:fabrictailor:${fabrictailor}"
|
||||
modImplementation "maven.modrinth:vanish:${vanish}"
|
||||
|
||||
@@ -113,8 +114,8 @@
|
||||
@@ -115,8 +114,8 @@
|
||||
setVersionType("release")
|
||||
setChangelog("https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-fabric.md")
|
||||
setProjectVersion("${minecraft_version}-${project.version}")
|
||||
|
@@ -7,7 +7,7 @@
|
||||
- "fabricloader": ">=0.16.2",
|
||||
+ "fabricloader": ">=0.15.0",
|
||||
"fabric-api": "*",
|
||||
- "minecraft": ">=1.21.2",
|
||||
- "minecraft": "*",
|
||||
- "java": ">=21"
|
||||
+ "minecraft": ">=1.19.4",
|
||||
+ "java": ">=17"
|
||||
|
@@ -1,12 +1,14 @@
|
||||
--- a/NeoForge/build.gradle
|
||||
+++ /dev/null
|
||||
@@ -1,115 +1,0 @@
|
||||
@@ -1,122 +1,0 @@
|
||||
-archivesBaseName = "${mod_name.replace(" ", "")}-NeoForge-${minecraft_version}"
|
||||
-
|
||||
-dependencies {
|
||||
- // Compat
|
||||
- modImplementation("maven.modrinth:vanishmod:${vanishmod_neo}")
|
||||
-
|
||||
- stupidRemapArch("dev.ftb.mods:ftb-essentials-neoforge:${ftb_essentials}")
|
||||
-
|
||||
- // Do not edit or remove
|
||||
- implementation project(":Common")
|
||||
-}
|
||||
@@ -35,7 +37,12 @@
|
||||
-
|
||||
-unimined.minecraft {
|
||||
- neoForged {
|
||||
- loader neoforge_version
|
||||
- if (isPort) {
|
||||
- loader "net.neoforged:neoforge:${neoforge_version}:universal"
|
||||
- } else {
|
||||
- loader neoforge_version
|
||||
- }
|
||||
-
|
||||
- mixinConfig("${mod_id}.mixins.json", "${mod_id}.neoforge.mixins.json")
|
||||
- }
|
||||
-}
|
||||
|
@@ -1,6 +1,29 @@
|
||||
--- a/build.gradle
|
||||
+++ b/build.gradle
|
||||
@@ -29,8 +29,8 @@
|
||||
@@ -7,21 +7,15 @@
|
||||
id 'maven-publish'
|
||||
}
|
||||
|
||||
-var relType = project.properties["releaseType"] ?: "${release_type}"
|
||||
-
|
||||
-ext {
|
||||
- isPort = (relType == 'port')
|
||||
-}
|
||||
-
|
||||
orion.setup {
|
||||
multiProject = true
|
||||
enableMirrorMaven = true
|
||||
enableReleasesMaven = true
|
||||
- enableSnapshotsMaven = isPort
|
||||
|
||||
dopplerToken = System.getenv("DOPPLER_KEY")
|
||||
|
||||
versioning {
|
||||
+ var relType = project.properties["releaseType"] ?: "${release_type}"
|
||||
identifier("${relType}")
|
||||
}
|
||||
}
|
||||
@@ -35,14 +29,13 @@
|
||||
apply plugin: 'com.github.johnrengelman.shadow'
|
||||
apply plugin: 'com.hypherionmc.modutils.modpublisher'
|
||||
|
||||
@@ -11,7 +34,13 @@
|
||||
|
||||
group = rootProject.group
|
||||
|
||||
@@ -61,13 +61,11 @@
|
||||
repositories {
|
||||
mavenCentral()
|
||||
- mavenLocal()
|
||||
|
||||
maven {
|
||||
name = "Modrinth"
|
||||
@@ -68,7 +61,7 @@
|
||||
shade "me.hypherionmc.moon-config:toml:${moon_config}"
|
||||
shade "me.hypherionmc.moon-config:json:${moon_config}"
|
||||
shade "com.hypherionmc:rpcsdk:${rpc_sdk}"
|
||||
@@ -20,13 +49,7 @@
|
||||
shade "net.kyori:adventure-api:${adventure}"
|
||||
shade "net.kyori:adventure-text-serializer-gson:${adventure}"
|
||||
shade "net.kyori:adventure-text-minimessage:${adventure}"
|
||||
|
||||
- stupidRemapArch("dev.ftb.mods:ftb-essentials:${ftb_essentials}")
|
||||
-
|
||||
compileOnly 'net.luckperms:api:5.4'
|
||||
compileOnly("org.projectlombok:lombok:${lombok}")
|
||||
annotationProcessor("org.projectlombok:lombok:${lombok}")
|
||||
@@ -112,7 +110,7 @@
|
||||
@@ -117,7 +110,7 @@
|
||||
|
||||
tasks.withType(JavaCompile).configureEach {
|
||||
it.options.encoding = 'UTF-8'
|
||||
|
@@ -4,13 +4,13 @@
|
||||
mod_name=CraterLib
|
||||
|
||||
# Shared
|
||||
-minecraft_version=1.21.2-pre1
|
||||
-minecraft_version=1.21.2-rc1
|
||||
+minecraft_version=1.19.4
|
||||
project_group=com.hypherionmc.craterlib
|
||||
|
||||
# Fabric
|
||||
-fabric_loader=0.16.5
|
||||
-fabric_api=0.105.3+1.21.2
|
||||
-fabric_api=0.106.0+1.21.2
|
||||
+fabric_loader=0.15.11
|
||||
+fabric_api=0.87.2+1.19.4
|
||||
|
||||
@@ -18,11 +18,11 @@
|
||||
-forge_version=50.0.6
|
||||
-
|
||||
-# NeoForged
|
||||
-neoforge_version=0.0-beta
|
||||
-neoforge_version=21.2.0-alpha.1.21.2-rc1.20241017.224038
|
||||
+forge_version=45.3.0
|
||||
|
||||
# Dependencies
|
||||
moon_config=1.0.9
|
||||
moon_config=1.0.10
|
||||
@@ -31,17 +28,16 @@
|
||||
discord_formatter=2.0.0
|
||||
|
||||
|
@@ -5,6 +5,6 @@
|
||||
}
|
||||
|
||||
-rootProject.name = 'CraterLib'
|
||||
-include("Common", "Fabric", /*"NeoForge"*/)
|
||||
-include("Common", "Fabric", "NeoForge")
|
||||
+rootProject.name = 'CraterLib-1.19.3'
|
||||
+include("Common", "Fabric", "Forge")
|
||||
|
Reference in New Issue
Block a user