[DEV] Update Porting Patches
This commit is contained in:
@@ -65,4 +65,4 @@ publishing {
|
|||||||
repositories {
|
repositories {
|
||||||
maven rootProject.orion.getPublishingMaven()
|
maven rootProject.orion.getPublishingMaven()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -21,7 +21,7 @@ fabric_api=0.76.0+1.18.2
|
|||||||
forge_version=40.2.0
|
forge_version=40.2.0
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
moon_config=1.0.9
|
moon_config=1.0.10
|
||||||
lombok=1.18.32
|
lombok=1.18.32
|
||||||
adventure=4.17.0
|
adventure=4.17.0
|
||||||
rpc_sdk=1.0
|
rpc_sdk=1.0
|
||||||
|
@@ -65,4 +65,4 @@ publishing {
|
|||||||
repositories {
|
repositories {
|
||||||
maven rootProject.orion.getPublishingMaven()
|
maven rootProject.orion.getPublishingMaven()
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -21,7 +21,7 @@ fabric_api=0.76.0+1.19.2
|
|||||||
forge_version=43.4.0
|
forge_version=43.4.0
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
moon_config=1.0.9
|
moon_config=1.0.10
|
||||||
lombok=1.18.32
|
lombok=1.18.32
|
||||||
adventure=4.17.0
|
adventure=4.17.0
|
||||||
rpc_sdk=1.0
|
rpc_sdk=1.0
|
||||||
|
@@ -65,4 +65,4 @@ publishing {
|
|||||||
repositories {
|
repositories {
|
||||||
maven rootProject.orion.getPublishingMaven()
|
maven rootProject.orion.getPublishingMaven()
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -21,7 +21,7 @@ fabric_api=0.87.2+1.19.4
|
|||||||
forge_version=45.3.0
|
forge_version=45.3.0
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
moon_config=1.0.9
|
moon_config=1.0.10
|
||||||
lombok=1.18.32
|
lombok=1.18.32
|
||||||
adventure=4.17.0
|
adventure=4.17.0
|
||||||
rpc_sdk=1.0
|
rpc_sdk=1.0
|
||||||
|
@@ -65,4 +65,4 @@ publishing {
|
|||||||
repositories {
|
repositories {
|
||||||
maven rootProject.orion.getPublishingMaven()
|
maven rootProject.orion.getPublishingMaven()
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -21,7 +21,7 @@ fabric_api=0.91.6+1.20.2
|
|||||||
forge_version=48.1.0
|
forge_version=48.1.0
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
moon_config=1.0.9
|
moon_config=1.0.10
|
||||||
lombok=1.18.32
|
lombok=1.18.32
|
||||||
adventure=4.17.0
|
adventure=4.17.0
|
||||||
rpc_sdk=1.0
|
rpc_sdk=1.0
|
||||||
|
@@ -65,4 +65,4 @@ publishing {
|
|||||||
repositories {
|
repositories {
|
||||||
maven rootProject.orion.getPublishingMaven()
|
maven rootProject.orion.getPublishingMaven()
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -24,7 +24,7 @@ forge_version=49.0.49
|
|||||||
neoforge_version=234
|
neoforge_version=234
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
moon_config=1.0.9
|
moon_config=1.0.10
|
||||||
lombok=1.18.32
|
lombok=1.18.32
|
||||||
adventure=4.17.0
|
adventure=4.17.0
|
||||||
rpc_sdk=1.0
|
rpc_sdk=1.0
|
||||||
|
@@ -65,4 +65,4 @@ publishing {
|
|||||||
repositories {
|
repositories {
|
||||||
maven rootProject.orion.getPublishingMaven()
|
maven rootProject.orion.getPublishingMaven()
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -21,7 +21,7 @@ fabric_api=0.83.0+1.20
|
|||||||
forge_version=46.0.14
|
forge_version=46.0.14
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
moon_config=1.0.9
|
moon_config=1.0.10
|
||||||
lombok=1.18.32
|
lombok=1.18.32
|
||||||
adventure=4.17.0
|
adventure=4.17.0
|
||||||
rpc_sdk=1.0
|
rpc_sdk=1.0
|
||||||
|
@@ -65,4 +65,4 @@ publishing {
|
|||||||
repositories {
|
repositories {
|
||||||
maven rootProject.orion.getPublishingMaven()
|
maven rootProject.orion.getPublishingMaven()
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -24,7 +24,7 @@ forge_version=50.0.6
|
|||||||
neoforge_version=0-beta
|
neoforge_version=0-beta
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
moon_config=1.0.9
|
moon_config=1.0.10
|
||||||
lombok=1.18.32
|
lombok=1.18.32
|
||||||
adventure=4.17.0
|
adventure=4.17.0
|
||||||
rpc_sdk=1.0
|
rpc_sdk=1.0
|
||||||
|
@@ -14,4 +14,4 @@ pluginManagement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
rootProject.name = 'CraterLib'
|
rootProject.name = 'CraterLib'
|
||||||
include("Common", "Fabric", "NeoForge")
|
include("Common", "Fabric", "NeoForge")
|
@@ -1 +1 @@
|
|||||||
d4a8de0fd2b5b8a6bc58d213d72f135bed411d94
|
4fab7e51a1f7a0e0ea4880d54a74214edfccd4c0
|
@@ -4,8 +4,8 @@
|
|||||||
archivesBaseName = "${mod_name.replace(" ", "")}-Common-${minecraft_version}"
|
archivesBaseName = "${mod_name.replace(" ", "")}-Common-${minecraft_version}"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
-
|
- stupidRemapArch("dev.ftb.mods:ftb-essentials:${ftb_essentials}")
|
||||||
+ stupidRemapArch("dev.ftb.mods:ftb-essentials:${ftb_essentials}")
|
+
|
||||||
}
|
}
|
||||||
|
|
||||||
shadowJar {
|
shadowJar {
|
@@ -1,6 +1,15 @@
|
|||||||
--- a/Fabric/build.gradle
|
--- a/Fabric/build.gradle
|
||||||
+++ b/Fabric/build.gradle
|
+++ b/Fabric/build.gradle
|
||||||
@@ -113,8 +113,8 @@
|
@@ -9,8 +9,6 @@
|
||||||
|
exclude(group: "net.fabricmc.fabric-api")
|
||||||
|
}
|
||||||
|
|
||||||
|
- stupidRemapArch("dev.ftb.mods:ftb-essentials:${ftb_essentials}")
|
||||||
|
-
|
||||||
|
modImplementation "maven.modrinth:fabrictailor:${fabrictailor}"
|
||||||
|
modImplementation "maven.modrinth:vanish:${vanish}"
|
||||||
|
|
||||||
|
@@ -115,8 +113,8 @@
|
||||||
setVersionType("release")
|
setVersionType("release")
|
||||||
setChangelog("https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-fabric.md")
|
setChangelog("https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-fabric.md")
|
||||||
setProjectVersion("${minecraft_version}-${project.version}")
|
setProjectVersion("${minecraft_version}-${project.version}")
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
- "fabricloader": ">=0.16.2",
|
- "fabricloader": ">=0.16.2",
|
||||||
+ "fabricloader": ">=0.15.0",
|
+ "fabricloader": ">=0.15.0",
|
||||||
"fabric-api": "*",
|
"fabric-api": "*",
|
||||||
- "minecraft": ">=1.21.2",
|
- "minecraft": "*",
|
||||||
- "java": ">=21"
|
- "java": ">=21"
|
||||||
+ "minecraft": "1.18.2",
|
+ "minecraft": "1.18.2",
|
||||||
+ "java": ">=17"
|
+ "java": ">=17"
|
||||||
|
@@ -1,12 +1,14 @@
|
|||||||
--- a/NeoForge/build.gradle
|
--- a/NeoForge/build.gradle
|
||||||
+++ /dev/null
|
+++ /dev/null
|
||||||
@@ -1,115 +1,0 @@
|
@@ -1,122 +1,0 @@
|
||||||
-archivesBaseName = "${mod_name.replace(" ", "")}-NeoForge-${minecraft_version}"
|
-archivesBaseName = "${mod_name.replace(" ", "")}-NeoForge-${minecraft_version}"
|
||||||
-
|
-
|
||||||
-dependencies {
|
-dependencies {
|
||||||
- // Compat
|
- // Compat
|
||||||
- modImplementation("maven.modrinth:vanishmod:${vanishmod_neo}")
|
- modImplementation("maven.modrinth:vanishmod:${vanishmod_neo}")
|
||||||
-
|
-
|
||||||
|
- stupidRemapArch("dev.ftb.mods:ftb-essentials-neoforge:${ftb_essentials}")
|
||||||
|
-
|
||||||
- // Do not edit or remove
|
- // Do not edit or remove
|
||||||
- implementation project(":Common")
|
- implementation project(":Common")
|
||||||
-}
|
-}
|
||||||
@@ -35,7 +37,12 @@
|
|||||||
-
|
-
|
||||||
-unimined.minecraft {
|
-unimined.minecraft {
|
||||||
- neoForged {
|
- 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")
|
- mixinConfig("${mod_id}.mixins.json", "${mod_id}.neoforge.mixins.json")
|
||||||
- }
|
- }
|
||||||
-}
|
-}
|
||||||
|
@@ -1,6 +1,29 @@
|
|||||||
--- a/build.gradle
|
--- a/build.gradle
|
||||||
+++ b/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.github.johnrengelman.shadow'
|
||||||
apply plugin: 'com.hypherionmc.modutils.modpublisher'
|
apply plugin: 'com.hypherionmc.modutils.modpublisher'
|
||||||
|
|
||||||
@@ -11,7 +34,13 @@
|
|||||||
|
|
||||||
group = rootProject.group
|
group = rootProject.group
|
||||||
|
|
||||||
@@ -61,7 +61,7 @@
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
|
- mavenLocal()
|
||||||
|
|
||||||
|
maven {
|
||||||
|
name = "Modrinth"
|
||||||
|
@@ -68,11 +61,13 @@
|
||||||
shade "me.hypherionmc.moon-config:toml:${moon_config}"
|
shade "me.hypherionmc.moon-config:toml:${moon_config}"
|
||||||
shade "me.hypherionmc.moon-config:json:${moon_config}"
|
shade "me.hypherionmc.moon-config:json:${moon_config}"
|
||||||
shade "com.hypherionmc:rpcsdk:${rpc_sdk}"
|
shade "com.hypherionmc:rpcsdk:${rpc_sdk}"
|
||||||
@@ -20,7 +49,13 @@
|
|||||||
shade "net.kyori:adventure-api:${adventure}"
|
shade "net.kyori:adventure-api:${adventure}"
|
||||||
shade "net.kyori:adventure-text-serializer-gson:${adventure}"
|
shade "net.kyori:adventure-text-serializer-gson:${adventure}"
|
||||||
shade "net.kyori:adventure-text-minimessage:${adventure}"
|
shade "net.kyori:adventure-text-minimessage:${adventure}"
|
||||||
@@ -112,7 +112,7 @@
|
|
||||||
|
+ stupidRemapArch("dev.ftb.mods:ftb-essentials:${ftb_essentials}")
|
||||||
|
+
|
||||||
|
compileOnly 'net.luckperms:api:5.4'
|
||||||
|
compileOnly("org.projectlombok:lombok:${lombok}")
|
||||||
|
annotationProcessor("org.projectlombok:lombok:${lombok}")
|
||||||
|
@@ -117,7 +112,7 @@
|
||||||
|
|
||||||
tasks.withType(JavaCompile).configureEach {
|
tasks.withType(JavaCompile).configureEach {
|
||||||
it.options.encoding = 'UTF-8'
|
it.options.encoding = 'UTF-8'
|
||||||
|
@@ -4,13 +4,13 @@
|
|||||||
mod_name=CraterLib
|
mod_name=CraterLib
|
||||||
|
|
||||||
# Shared
|
# Shared
|
||||||
-minecraft_version=1.21.2-pre1
|
-minecraft_version=1.21.2-rc1
|
||||||
+minecraft_version=1.18.2
|
+minecraft_version=1.18.2
|
||||||
project_group=com.hypherionmc.craterlib
|
project_group=com.hypherionmc.craterlib
|
||||||
|
|
||||||
# Fabric
|
# Fabric
|
||||||
-fabric_loader=0.16.5
|
-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_loader=0.15.11
|
||||||
+fabric_api=0.76.0+1.18.2
|
+fabric_api=0.76.0+1.18.2
|
||||||
|
|
||||||
@@ -18,11 +18,11 @@
|
|||||||
-forge_version=50.0.6
|
-forge_version=50.0.6
|
||||||
-
|
-
|
||||||
-# NeoForged
|
-# NeoForged
|
||||||
-neoforge_version=0.0-beta
|
-neoforge_version=21.2.0-alpha.1.21.2-rc1.20241017.224038
|
||||||
+forge_version=40.2.0
|
+forge_version=40.2.0
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
moon_config=1.0.9
|
moon_config=1.0.10
|
||||||
@@ -31,17 +28,16 @@
|
@@ -31,17 +28,16 @@
|
||||||
discord_formatter=2.0.0
|
discord_formatter=2.0.0
|
||||||
|
|
||||||
|
@@ -5,6 +5,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
-rootProject.name = 'CraterLib'
|
-rootProject.name = 'CraterLib'
|
||||||
-include("Common", "Fabric", /*"NeoForge"*/)
|
-include("Common", "Fabric", "NeoForge")
|
||||||
+rootProject.name = 'CraterLib-1.18.2'
|
+rootProject.name = 'CraterLib-1.18.2'
|
||||||
+include("Common", "Fabric", "Forge")
|
+include("Common", "Fabric", "Forge")
|
||||||
|
@@ -1,14 +1,14 @@
|
|||||||
--- a/Fabric/build.gradle
|
--- a/Fabric/build.gradle
|
||||||
+++ b/Fabric/build.gradle
|
+++ b/Fabric/build.gradle
|
||||||
@@ -9,6 +9,7 @@
|
@@ -10,7 +10,6 @@
|
||||||
exclude(group: "net.fabricmc.fabric-api")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
+ stupidRemapArch("dev.ftb.mods:ftb-essentials:${ftb_essentials}")
|
stupidRemapArch("dev.ftb.mods:ftb-essentials:${ftb_essentials}")
|
||||||
|
-
|
||||||
modImplementation "maven.modrinth:fabrictailor:${fabrictailor}"
|
modImplementation "maven.modrinth:fabrictailor:${fabrictailor}"
|
||||||
modImplementation "maven.modrinth:vanish:${vanish}"
|
modImplementation "maven.modrinth:vanish:${vanish}"
|
||||||
|
|
||||||
@@ -113,8 +114,8 @@
|
@@ -115,8 +114,8 @@
|
||||||
setVersionType("release")
|
setVersionType("release")
|
||||||
setChangelog("https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-fabric.md")
|
setChangelog("https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-fabric.md")
|
||||||
setProjectVersion("${minecraft_version}-${project.version}")
|
setProjectVersion("${minecraft_version}-${project.version}")
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
- "fabricloader": ">=0.16.2",
|
- "fabricloader": ">=0.16.2",
|
||||||
+ "fabricloader": ">=0.15.0",
|
+ "fabricloader": ">=0.15.0",
|
||||||
"fabric-api": "*",
|
"fabric-api": "*",
|
||||||
- "minecraft": ">=1.21.2",
|
- "minecraft": "*",
|
||||||
- "java": ">=21"
|
- "java": ">=21"
|
||||||
+ "minecraft": "1.19.2",
|
+ "minecraft": "1.19.2",
|
||||||
+ "java": ">=17"
|
+ "java": ">=17"
|
||||||
|
@@ -1,12 +1,14 @@
|
|||||||
--- a/NeoForge/build.gradle
|
--- a/NeoForge/build.gradle
|
||||||
+++ /dev/null
|
+++ /dev/null
|
||||||
@@ -1,115 +1,0 @@
|
@@ -1,122 +1,0 @@
|
||||||
-archivesBaseName = "${mod_name.replace(" ", "")}-NeoForge-${minecraft_version}"
|
-archivesBaseName = "${mod_name.replace(" ", "")}-NeoForge-${minecraft_version}"
|
||||||
-
|
-
|
||||||
-dependencies {
|
-dependencies {
|
||||||
- // Compat
|
- // Compat
|
||||||
- modImplementation("maven.modrinth:vanishmod:${vanishmod_neo}")
|
- modImplementation("maven.modrinth:vanishmod:${vanishmod_neo}")
|
||||||
-
|
-
|
||||||
|
- stupidRemapArch("dev.ftb.mods:ftb-essentials-neoforge:${ftb_essentials}")
|
||||||
|
-
|
||||||
- // Do not edit or remove
|
- // Do not edit or remove
|
||||||
- implementation project(":Common")
|
- implementation project(":Common")
|
||||||
-}
|
-}
|
||||||
@@ -35,7 +37,12 @@
|
|||||||
-
|
-
|
||||||
-unimined.minecraft {
|
-unimined.minecraft {
|
||||||
- neoForged {
|
- 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")
|
- mixinConfig("${mod_id}.mixins.json", "${mod_id}.neoforge.mixins.json")
|
||||||
- }
|
- }
|
||||||
-}
|
-}
|
||||||
|
@@ -1,6 +1,29 @@
|
|||||||
--- a/build.gradle
|
--- a/build.gradle
|
||||||
+++ b/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.github.johnrengelman.shadow'
|
||||||
apply plugin: 'com.hypherionmc.modutils.modpublisher'
|
apply plugin: 'com.hypherionmc.modutils.modpublisher'
|
||||||
|
|
||||||
@@ -11,7 +34,13 @@
|
|||||||
|
|
||||||
group = rootProject.group
|
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:toml:${moon_config}"
|
||||||
shade "me.hypherionmc.moon-config:json:${moon_config}"
|
shade "me.hypherionmc.moon-config:json:${moon_config}"
|
||||||
shade "com.hypherionmc:rpcsdk:${rpc_sdk}"
|
shade "com.hypherionmc:rpcsdk:${rpc_sdk}"
|
||||||
@@ -20,13 +49,7 @@
|
|||||||
shade "net.kyori:adventure-api:${adventure}"
|
shade "net.kyori:adventure-api:${adventure}"
|
||||||
shade "net.kyori:adventure-text-serializer-gson:${adventure}"
|
shade "net.kyori:adventure-text-serializer-gson:${adventure}"
|
||||||
shade "net.kyori:adventure-text-minimessage:${adventure}"
|
shade "net.kyori:adventure-text-minimessage:${adventure}"
|
||||||
|
@@ -117,7 +110,7 @@
|
||||||
- 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 @@
|
|
||||||
|
|
||||||
tasks.withType(JavaCompile).configureEach {
|
tasks.withType(JavaCompile).configureEach {
|
||||||
it.options.encoding = 'UTF-8'
|
it.options.encoding = 'UTF-8'
|
||||||
|
@@ -4,13 +4,13 @@
|
|||||||
mod_name=CraterLib
|
mod_name=CraterLib
|
||||||
|
|
||||||
# Shared
|
# Shared
|
||||||
-minecraft_version=1.21.2-pre1
|
-minecraft_version=1.21.2-rc1
|
||||||
+minecraft_version=1.19.2
|
+minecraft_version=1.19.2
|
||||||
project_group=com.hypherionmc.craterlib
|
project_group=com.hypherionmc.craterlib
|
||||||
|
|
||||||
# Fabric
|
# Fabric
|
||||||
-fabric_loader=0.16.5
|
-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_loader=0.15.11
|
||||||
+fabric_api=0.76.0+1.19.2
|
+fabric_api=0.76.0+1.19.2
|
||||||
|
|
||||||
@@ -18,11 +18,11 @@
|
|||||||
-forge_version=50.0.6
|
-forge_version=50.0.6
|
||||||
-
|
-
|
||||||
-# NeoForged
|
-# NeoForged
|
||||||
-neoforge_version=0.0-beta
|
-neoforge_version=21.2.0-alpha.1.21.2-rc1.20241017.224038
|
||||||
+forge_version=43.4.0
|
+forge_version=43.4.0
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
moon_config=1.0.9
|
moon_config=1.0.10
|
||||||
@@ -31,17 +28,16 @@
|
@@ -31,17 +28,16 @@
|
||||||
discord_formatter=2.0.0
|
discord_formatter=2.0.0
|
||||||
|
|
||||||
|
@@ -5,6 +5,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
-rootProject.name = 'CraterLib'
|
-rootProject.name = 'CraterLib'
|
||||||
-include("Common", "Fabric", /*"NeoForge"*/)
|
-include("Common", "Fabric", "NeoForge")
|
||||||
+rootProject.name = 'CraterLib-1.19.2'
|
+rootProject.name = 'CraterLib-1.19.2'
|
||||||
+include("Common", "Fabric", "Forge")
|
+include("Common", "Fabric", "Forge")
|
||||||
|
@@ -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
|
--- a/Fabric/build.gradle
|
||||||
+++ b/Fabric/build.gradle
|
+++ b/Fabric/build.gradle
|
||||||
@@ -9,6 +9,7 @@
|
@@ -10,7 +10,6 @@
|
||||||
exclude(group: "net.fabricmc.fabric-api")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
+ stupidRemapArch("dev.ftb.mods:ftb-essentials:${ftb_essentials}")
|
stupidRemapArch("dev.ftb.mods:ftb-essentials:${ftb_essentials}")
|
||||||
|
-
|
||||||
modImplementation "maven.modrinth:fabrictailor:${fabrictailor}"
|
modImplementation "maven.modrinth:fabrictailor:${fabrictailor}"
|
||||||
modImplementation "maven.modrinth:vanish:${vanish}"
|
modImplementation "maven.modrinth:vanish:${vanish}"
|
||||||
|
|
||||||
@@ -113,8 +114,8 @@
|
@@ -115,8 +114,8 @@
|
||||||
setVersionType("release")
|
setVersionType("release")
|
||||||
setChangelog("https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-fabric.md")
|
setChangelog("https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-fabric.md")
|
||||||
setProjectVersion("${minecraft_version}-${project.version}")
|
setProjectVersion("${minecraft_version}-${project.version}")
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
- "fabricloader": ">=0.16.2",
|
- "fabricloader": ">=0.16.2",
|
||||||
+ "fabricloader": ">=0.15.0",
|
+ "fabricloader": ">=0.15.0",
|
||||||
"fabric-api": "*",
|
"fabric-api": "*",
|
||||||
- "minecraft": ">=1.21.2",
|
- "minecraft": "*",
|
||||||
- "java": ">=21"
|
- "java": ">=21"
|
||||||
+ "minecraft": ">=1.19.4",
|
+ "minecraft": ">=1.19.4",
|
||||||
+ "java": ">=17"
|
+ "java": ">=17"
|
||||||
|
@@ -1,12 +1,14 @@
|
|||||||
--- a/NeoForge/build.gradle
|
--- a/NeoForge/build.gradle
|
||||||
+++ /dev/null
|
+++ /dev/null
|
||||||
@@ -1,115 +1,0 @@
|
@@ -1,122 +1,0 @@
|
||||||
-archivesBaseName = "${mod_name.replace(" ", "")}-NeoForge-${minecraft_version}"
|
-archivesBaseName = "${mod_name.replace(" ", "")}-NeoForge-${minecraft_version}"
|
||||||
-
|
-
|
||||||
-dependencies {
|
-dependencies {
|
||||||
- // Compat
|
- // Compat
|
||||||
- modImplementation("maven.modrinth:vanishmod:${vanishmod_neo}")
|
- modImplementation("maven.modrinth:vanishmod:${vanishmod_neo}")
|
||||||
-
|
-
|
||||||
|
- stupidRemapArch("dev.ftb.mods:ftb-essentials-neoforge:${ftb_essentials}")
|
||||||
|
-
|
||||||
- // Do not edit or remove
|
- // Do not edit or remove
|
||||||
- implementation project(":Common")
|
- implementation project(":Common")
|
||||||
-}
|
-}
|
||||||
@@ -35,7 +37,12 @@
|
|||||||
-
|
-
|
||||||
-unimined.minecraft {
|
-unimined.minecraft {
|
||||||
- neoForged {
|
- 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")
|
- mixinConfig("${mod_id}.mixins.json", "${mod_id}.neoforge.mixins.json")
|
||||||
- }
|
- }
|
||||||
-}
|
-}
|
||||||
|
@@ -1,6 +1,29 @@
|
|||||||
--- a/build.gradle
|
--- a/build.gradle
|
||||||
+++ b/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.github.johnrengelman.shadow'
|
||||||
apply plugin: 'com.hypherionmc.modutils.modpublisher'
|
apply plugin: 'com.hypherionmc.modutils.modpublisher'
|
||||||
|
|
||||||
@@ -11,7 +34,13 @@
|
|||||||
|
|
||||||
group = rootProject.group
|
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:toml:${moon_config}"
|
||||||
shade "me.hypherionmc.moon-config:json:${moon_config}"
|
shade "me.hypherionmc.moon-config:json:${moon_config}"
|
||||||
shade "com.hypherionmc:rpcsdk:${rpc_sdk}"
|
shade "com.hypherionmc:rpcsdk:${rpc_sdk}"
|
||||||
@@ -20,13 +49,7 @@
|
|||||||
shade "net.kyori:adventure-api:${adventure}"
|
shade "net.kyori:adventure-api:${adventure}"
|
||||||
shade "net.kyori:adventure-text-serializer-gson:${adventure}"
|
shade "net.kyori:adventure-text-serializer-gson:${adventure}"
|
||||||
shade "net.kyori:adventure-text-minimessage:${adventure}"
|
shade "net.kyori:adventure-text-minimessage:${adventure}"
|
||||||
|
@@ -117,7 +110,7 @@
|
||||||
- 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 @@
|
|
||||||
|
|
||||||
tasks.withType(JavaCompile).configureEach {
|
tasks.withType(JavaCompile).configureEach {
|
||||||
it.options.encoding = 'UTF-8'
|
it.options.encoding = 'UTF-8'
|
||||||
|
@@ -4,13 +4,13 @@
|
|||||||
mod_name=CraterLib
|
mod_name=CraterLib
|
||||||
|
|
||||||
# Shared
|
# Shared
|
||||||
-minecraft_version=1.21.2-pre1
|
-minecraft_version=1.21.2-rc1
|
||||||
+minecraft_version=1.19.4
|
+minecraft_version=1.19.4
|
||||||
project_group=com.hypherionmc.craterlib
|
project_group=com.hypherionmc.craterlib
|
||||||
|
|
||||||
# Fabric
|
# Fabric
|
||||||
-fabric_loader=0.16.5
|
-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_loader=0.15.11
|
||||||
+fabric_api=0.87.2+1.19.4
|
+fabric_api=0.87.2+1.19.4
|
||||||
|
|
||||||
@@ -18,11 +18,11 @@
|
|||||||
-forge_version=50.0.6
|
-forge_version=50.0.6
|
||||||
-
|
-
|
||||||
-# NeoForged
|
-# NeoForged
|
||||||
-neoforge_version=0.0-beta
|
-neoforge_version=21.2.0-alpha.1.21.2-rc1.20241017.224038
|
||||||
+forge_version=45.3.0
|
+forge_version=45.3.0
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
moon_config=1.0.9
|
moon_config=1.0.10
|
||||||
@@ -31,17 +28,16 @@
|
@@ -31,17 +28,16 @@
|
||||||
discord_formatter=2.0.0
|
discord_formatter=2.0.0
|
||||||
|
|
||||||
|
@@ -5,6 +5,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
-rootProject.name = 'CraterLib'
|
-rootProject.name = 'CraterLib'
|
||||||
-include("Common", "Fabric", /*"NeoForge"*/)
|
-include("Common", "Fabric", "NeoForge")
|
||||||
+rootProject.name = 'CraterLib-1.19.3'
|
+rootProject.name = 'CraterLib-1.19.3'
|
||||||
+include("Common", "Fabric", "Forge")
|
+include("Common", "Fabric", "Forge")
|
||||||
|
@@ -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
|
--- a/Fabric/build.gradle
|
||||||
+++ b/Fabric/build.gradle
|
+++ b/Fabric/build.gradle
|
||||||
@@ -9,6 +9,7 @@
|
@@ -10,7 +10,6 @@
|
||||||
exclude(group: "net.fabricmc.fabric-api")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
+ stupidRemapArch("dev.ftb.mods:ftb-essentials:${ftb_essentials}")
|
stupidRemapArch("dev.ftb.mods:ftb-essentials:${ftb_essentials}")
|
||||||
|
-
|
||||||
modImplementation "maven.modrinth:fabrictailor:${fabrictailor}"
|
modImplementation "maven.modrinth:fabrictailor:${fabrictailor}"
|
||||||
modImplementation "maven.modrinth:vanish:${vanish}"
|
modImplementation "maven.modrinth:vanish:${vanish}"
|
||||||
|
|
||||||
@@ -113,8 +114,8 @@
|
@@ -115,8 +114,8 @@
|
||||||
setVersionType("release")
|
setVersionType("release")
|
||||||
setChangelog("https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-fabric.md")
|
setChangelog("https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-fabric.md")
|
||||||
setProjectVersion("${minecraft_version}-${project.version}")
|
setProjectVersion("${minecraft_version}-${project.version}")
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
- "fabricloader": ">=0.16.2",
|
- "fabricloader": ">=0.16.2",
|
||||||
+ "fabricloader": ">=0.15.0",
|
+ "fabricloader": ">=0.15.0",
|
||||||
"fabric-api": "*",
|
"fabric-api": "*",
|
||||||
- "minecraft": ">=1.21.2",
|
- "minecraft": "*",
|
||||||
- "java": ">=21"
|
- "java": ">=21"
|
||||||
+ "minecraft": "1.20.2",
|
+ "minecraft": "1.20.2",
|
||||||
+ "java": ">=17"
|
+ "java": ">=17"
|
||||||
|
@@ -1,12 +1,14 @@
|
|||||||
--- a/NeoForge/build.gradle
|
--- a/NeoForge/build.gradle
|
||||||
+++ /dev/null
|
+++ /dev/null
|
||||||
@@ -1,115 +1,0 @@
|
@@ -1,122 +1,0 @@
|
||||||
-archivesBaseName = "${mod_name.replace(" ", "")}-NeoForge-${minecraft_version}"
|
-archivesBaseName = "${mod_name.replace(" ", "")}-NeoForge-${minecraft_version}"
|
||||||
-
|
-
|
||||||
-dependencies {
|
-dependencies {
|
||||||
- // Compat
|
- // Compat
|
||||||
- modImplementation("maven.modrinth:vanishmod:${vanishmod_neo}")
|
- modImplementation("maven.modrinth:vanishmod:${vanishmod_neo}")
|
||||||
-
|
-
|
||||||
|
- stupidRemapArch("dev.ftb.mods:ftb-essentials-neoforge:${ftb_essentials}")
|
||||||
|
-
|
||||||
- // Do not edit or remove
|
- // Do not edit or remove
|
||||||
- implementation project(":Common")
|
- implementation project(":Common")
|
||||||
-}
|
-}
|
||||||
@@ -35,7 +37,12 @@
|
|||||||
-
|
-
|
||||||
-unimined.minecraft {
|
-unimined.minecraft {
|
||||||
- neoForged {
|
- 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")
|
- mixinConfig("${mod_id}.mixins.json", "${mod_id}.neoforge.mixins.json")
|
||||||
- }
|
- }
|
||||||
-}
|
-}
|
||||||
|
@@ -1,6 +1,29 @@
|
|||||||
--- a/build.gradle
|
--- a/build.gradle
|
||||||
+++ b/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.github.johnrengelman.shadow'
|
||||||
apply plugin: 'com.hypherionmc.modutils.modpublisher'
|
apply plugin: 'com.hypherionmc.modutils.modpublisher'
|
||||||
|
|
||||||
@@ -11,7 +34,13 @@
|
|||||||
|
|
||||||
group = rootProject.group
|
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:toml:${moon_config}"
|
||||||
shade "me.hypherionmc.moon-config:json:${moon_config}"
|
shade "me.hypherionmc.moon-config:json:${moon_config}"
|
||||||
shade "com.hypherionmc:rpcsdk:${rpc_sdk}"
|
shade "com.hypherionmc:rpcsdk:${rpc_sdk}"
|
||||||
@@ -20,13 +49,7 @@
|
|||||||
shade "net.kyori:adventure-api:${adventure}"
|
shade "net.kyori:adventure-api:${adventure}"
|
||||||
shade "net.kyori:adventure-text-serializer-gson:${adventure}"
|
shade "net.kyori:adventure-text-serializer-gson:${adventure}"
|
||||||
shade "net.kyori:adventure-text-minimessage:${adventure}"
|
shade "net.kyori:adventure-text-minimessage:${adventure}"
|
||||||
|
@@ -117,7 +110,7 @@
|
||||||
- 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 @@
|
|
||||||
|
|
||||||
tasks.withType(JavaCompile).configureEach {
|
tasks.withType(JavaCompile).configureEach {
|
||||||
it.options.encoding = 'UTF-8'
|
it.options.encoding = 'UTF-8'
|
||||||
|
@@ -4,13 +4,13 @@
|
|||||||
mod_name=CraterLib
|
mod_name=CraterLib
|
||||||
|
|
||||||
# Shared
|
# Shared
|
||||||
-minecraft_version=1.21.2-pre1
|
-minecraft_version=1.21.2-rc1
|
||||||
+minecraft_version=1.20.2
|
+minecraft_version=1.20.2
|
||||||
project_group=com.hypherionmc.craterlib
|
project_group=com.hypherionmc.craterlib
|
||||||
|
|
||||||
# Fabric
|
# Fabric
|
||||||
-fabric_loader=0.16.5
|
-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_loader=0.15.11
|
||||||
+fabric_api=0.91.6+1.20.2
|
+fabric_api=0.91.6+1.20.2
|
||||||
|
|
||||||
@@ -18,11 +18,11 @@
|
|||||||
-forge_version=50.0.6
|
-forge_version=50.0.6
|
||||||
-
|
-
|
||||||
-# NeoForged
|
-# NeoForged
|
||||||
-neoforge_version=0.0-beta
|
-neoforge_version=21.2.0-alpha.1.21.2-rc1.20241017.224038
|
||||||
+forge_version=48.1.0
|
+forge_version=48.1.0
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
moon_config=1.0.9
|
moon_config=1.0.10
|
||||||
@@ -31,17 +28,16 @@
|
@@ -31,17 +28,16 @@
|
||||||
discord_formatter=2.0.0
|
discord_formatter=2.0.0
|
||||||
|
|
||||||
|
@@ -5,6 +5,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
-rootProject.name = 'CraterLib'
|
-rootProject.name = 'CraterLib'
|
||||||
-include("Common", "Fabric", /*"NeoForge"*/)
|
-include("Common", "Fabric", "NeoForge")
|
||||||
+rootProject.name = 'CraterLib-1.20.2'
|
+rootProject.name = 'CraterLib-1.20.2'
|
||||||
+include("Common", "Fabric", "Forge")
|
+include("Common", "Fabric", "Forge")
|
||||||
|
@@ -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,15 +1,6 @@
|
|||||||
--- a/Fabric/build.gradle
|
--- a/Fabric/build.gradle
|
||||||
+++ b/Fabric/build.gradle
|
+++ b/Fabric/build.gradle
|
||||||
@@ -9,6 +9,8 @@
|
@@ -115,8 +115,8 @@
|
||||||
exclude(group: "net.fabricmc.fabric-api")
|
|
||||||
}
|
|
||||||
|
|
||||||
+ stupidRemapArch("dev.ftb.mods:ftb-essentials:${ftb_essentials}")
|
|
||||||
+
|
|
||||||
modImplementation "maven.modrinth:fabrictailor:${fabrictailor}"
|
|
||||||
modImplementation "maven.modrinth:vanish:${vanish}"
|
|
||||||
|
|
||||||
@@ -113,8 +115,8 @@
|
|
||||||
setVersionType("release")
|
setVersionType("release")
|
||||||
setChangelog("https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-fabric.md")
|
setChangelog("https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-fabric.md")
|
||||||
setProjectVersion("${minecraft_version}-${project.version}")
|
setProjectVersion("${minecraft_version}-${project.version}")
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
- "fabricloader": ">=0.16.2",
|
- "fabricloader": ">=0.16.2",
|
||||||
+ "fabricloader": ">=0.15.0",
|
+ "fabricloader": ">=0.15.0",
|
||||||
"fabric-api": "*",
|
"fabric-api": "*",
|
||||||
- "minecraft": ">=1.21.2",
|
- "minecraft": "*",
|
||||||
- "java": ">=21"
|
- "java": ">=21"
|
||||||
+ "minecraft": "1.20.4",
|
+ "minecraft": "1.20.4",
|
||||||
+ "java": ">=17"
|
+ "java": ">=17"
|
||||||
|
@@ -1,15 +1,20 @@
|
|||||||
--- a/NeoForge/build.gradle
|
--- a/NeoForge/build.gradle
|
||||||
+++ b/NeoForge/build.gradle
|
+++ b/NeoForge/build.gradle
|
||||||
@@ -4,6 +4,8 @@
|
@@ -34,12 +34,7 @@
|
||||||
// Compat
|
|
||||||
modImplementation("maven.modrinth:vanishmod:${vanishmod_neo}")
|
|
||||||
|
|
||||||
+ stupidRemapArch("dev.ftb.mods:ftb-essentials-neoforge:${ftb_essentials}")
|
unimined.minecraft {
|
||||||
+
|
neoForged {
|
||||||
// Do not edit or remove
|
- if (isPort) {
|
||||||
implementation project(":Common")
|
- loader "net.neoforged:neoforge:${neoforge_version}:universal"
|
||||||
|
- } else {
|
||||||
|
- loader neoforge_version
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
+ loader neoforge_version
|
||||||
|
mixinConfig("${mod_id}.mixins.json", "${mod_id}.neoforge.mixins.json")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -51,7 +53,7 @@
|
@@ -58,7 +53,7 @@
|
||||||
from project(":Common").sourceSets.main.resources
|
from project(":Common").sourceSets.main.resources
|
||||||
def buildProps = project.properties.clone()
|
def buildProps = project.properties.clone()
|
||||||
|
|
||||||
@@ -18,7 +23,7 @@
|
|||||||
expand buildProps
|
expand buildProps
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -106,8 +108,8 @@
|
@@ -113,8 +108,8 @@
|
||||||
setVersionType("release")
|
setVersionType("release")
|
||||||
setChangelog("https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-forge.md")
|
setChangelog("https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-forge.md")
|
||||||
setProjectVersion("${minecraft_version}-${project.version}")
|
setProjectVersion("${minecraft_version}-${project.version}")
|
||||||
|
@@ -1,6 +1,29 @@
|
|||||||
--- a/build.gradle
|
--- a/build.gradle
|
||||||
+++ b/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.github.johnrengelman.shadow'
|
||||||
apply plugin: 'com.hypherionmc.modutils.modpublisher'
|
apply plugin: 'com.hypherionmc.modutils.modpublisher'
|
||||||
|
|
||||||
@@ -11,16 +34,13 @@
|
|||||||
|
|
||||||
group = rootProject.group
|
group = rootProject.group
|
||||||
|
|
||||||
@@ -66,8 +66,6 @@
|
repositories {
|
||||||
shade "net.kyori:adventure-text-serializer-gson:${adventure}"
|
mavenCentral()
|
||||||
shade "net.kyori:adventure-text-minimessage:${adventure}"
|
- mavenLocal()
|
||||||
|
|
||||||
- stupidRemapArch("dev.ftb.mods:ftb-essentials:${ftb_essentials}")
|
maven {
|
||||||
-
|
name = "Modrinth"
|
||||||
compileOnly 'net.luckperms:api:5.4'
|
@@ -117,7 +110,7 @@
|
||||||
compileOnly("org.projectlombok:lombok:${lombok}")
|
|
||||||
annotationProcessor("org.projectlombok:lombok:${lombok}")
|
|
||||||
@@ -112,7 +110,7 @@
|
|
||||||
|
|
||||||
tasks.withType(JavaCompile).configureEach {
|
tasks.withType(JavaCompile).configureEach {
|
||||||
it.options.encoding = 'UTF-8'
|
it.options.encoding = 'UTF-8'
|
||||||
|
@@ -4,13 +4,13 @@
|
|||||||
mod_name=CraterLib
|
mod_name=CraterLib
|
||||||
|
|
||||||
# Shared
|
# Shared
|
||||||
-minecraft_version=1.21.2-pre1
|
-minecraft_version=1.21.2-rc1
|
||||||
+minecraft_version=1.20.4
|
+minecraft_version=1.20.4
|
||||||
project_group=com.hypherionmc.craterlib
|
project_group=com.hypherionmc.craterlib
|
||||||
|
|
||||||
# Fabric
|
# Fabric
|
||||||
-fabric_loader=0.16.5
|
-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_loader=0.15.11
|
||||||
+fabric_api=0.97.0+1.20.4
|
+fabric_api=0.97.0+1.20.4
|
||||||
|
|
||||||
@@ -19,11 +19,11 @@
|
|||||||
+forge_version=49.0.49
|
+forge_version=49.0.49
|
||||||
|
|
||||||
# NeoForged
|
# NeoForged
|
||||||
-neoforge_version=0.0-beta
|
-neoforge_version=21.2.0-alpha.1.21.2-rc1.20241017.224038
|
||||||
+neoforge_version=234
|
+neoforge_version=234
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
moon_config=1.0.9
|
moon_config=1.0.10
|
||||||
@@ -32,16 +32,16 @@
|
@@ -32,16 +32,16 @@
|
||||||
|
|
||||||
# Mod Dependencies
|
# Mod Dependencies
|
||||||
|
@@ -5,6 +5,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
-rootProject.name = 'CraterLib'
|
-rootProject.name = 'CraterLib'
|
||||||
-include("Common", "Fabric", /*"NeoForge"*/)
|
-include("Common", "Fabric", "NeoForge")
|
||||||
+rootProject.name = 'CraterLib-1.20.4'
|
+rootProject.name = 'CraterLib-1.20.4'
|
||||||
+include("Common", "Fabric", "Forge", "NeoForge")
|
+include("Common", "Fabric", "Forge", "NeoForge")
|
||||||
|
@@ -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
|
--- a/Fabric/build.gradle
|
||||||
+++ b/Fabric/build.gradle
|
+++ b/Fabric/build.gradle
|
||||||
@@ -9,6 +9,7 @@
|
@@ -10,7 +10,6 @@
|
||||||
exclude(group: "net.fabricmc.fabric-api")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
+ stupidRemapArch("dev.ftb.mods:ftb-essentials:${ftb_essentials}")
|
stupidRemapArch("dev.ftb.mods:ftb-essentials:${ftb_essentials}")
|
||||||
|
-
|
||||||
modImplementation "maven.modrinth:fabrictailor:${fabrictailor}"
|
modImplementation "maven.modrinth:fabrictailor:${fabrictailor}"
|
||||||
modImplementation "maven.modrinth:vanish:${vanish}"
|
modImplementation "maven.modrinth:vanish:${vanish}"
|
||||||
|
|
||||||
@@ -113,8 +114,8 @@
|
@@ -115,8 +114,8 @@
|
||||||
setVersionType("release")
|
setVersionType("release")
|
||||||
setChangelog("https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-fabric.md")
|
setChangelog("https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-fabric.md")
|
||||||
setProjectVersion("${minecraft_version}-${project.version}")
|
setProjectVersion("${minecraft_version}-${project.version}")
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
- "fabricloader": ">=0.16.2",
|
- "fabricloader": ">=0.16.2",
|
||||||
+ "fabricloader": ">=0.15.0",
|
+ "fabricloader": ">=0.15.0",
|
||||||
"fabric-api": "*",
|
"fabric-api": "*",
|
||||||
- "minecraft": ">=1.21.2",
|
- "minecraft": "*",
|
||||||
- "java": ">=21"
|
- "java": ">=21"
|
||||||
+ "minecraft": ">=1.20",
|
+ "minecraft": ">=1.20",
|
||||||
+ "java": ">=17"
|
+ "java": ">=17"
|
||||||
|
@@ -1,12 +1,14 @@
|
|||||||
--- a/NeoForge/build.gradle
|
--- a/NeoForge/build.gradle
|
||||||
+++ /dev/null
|
+++ /dev/null
|
||||||
@@ -1,115 +1,0 @@
|
@@ -1,122 +1,0 @@
|
||||||
-archivesBaseName = "${mod_name.replace(" ", "")}-NeoForge-${minecraft_version}"
|
-archivesBaseName = "${mod_name.replace(" ", "")}-NeoForge-${minecraft_version}"
|
||||||
-
|
-
|
||||||
-dependencies {
|
-dependencies {
|
||||||
- // Compat
|
- // Compat
|
||||||
- modImplementation("maven.modrinth:vanishmod:${vanishmod_neo}")
|
- modImplementation("maven.modrinth:vanishmod:${vanishmod_neo}")
|
||||||
-
|
-
|
||||||
|
- stupidRemapArch("dev.ftb.mods:ftb-essentials-neoforge:${ftb_essentials}")
|
||||||
|
-
|
||||||
- // Do not edit or remove
|
- // Do not edit or remove
|
||||||
- implementation project(":Common")
|
- implementation project(":Common")
|
||||||
-}
|
-}
|
||||||
@@ -35,7 +37,12 @@
|
|||||||
-
|
-
|
||||||
-unimined.minecraft {
|
-unimined.minecraft {
|
||||||
- neoForged {
|
- 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")
|
- mixinConfig("${mod_id}.mixins.json", "${mod_id}.neoforge.mixins.json")
|
||||||
- }
|
- }
|
||||||
-}
|
-}
|
||||||
|
@@ -1,14 +1,29 @@
|
|||||||
--- a/build.gradle
|
--- a/build.gradle
|
||||||
+++ b/build.gradle
|
+++ b/build.gradle
|
||||||
@@ -11,7 +11,6 @@
|
@@ -7,21 +7,14 @@
|
||||||
|
id 'maven-publish'
|
||||||
|
}
|
||||||
|
|
||||||
|
-var relType = project.properties["releaseType"] ?: "${release_type}"
|
||||||
|
-
|
||||||
|
-ext {
|
||||||
|
- isPort = (relType == 'port')
|
||||||
|
-}
|
||||||
|
-
|
||||||
|
orion.setup {
|
||||||
multiProject = true
|
multiProject = true
|
||||||
enableMirrorMaven = true
|
enableMirrorMaven = true
|
||||||
enableReleasesMaven = true
|
enableReleasesMaven = true
|
||||||
|
- enableSnapshotsMaven = isPort
|
||||||
-
|
-
|
||||||
dopplerToken = System.getenv("DOPPLER_KEY")
|
dopplerToken = System.getenv("DOPPLER_KEY")
|
||||||
|
|
||||||
versioning {
|
versioning {
|
||||||
@@ -29,8 +28,8 @@
|
+ var relType = project.properties["releaseType"] ?: "${release_type}"
|
||||||
|
identifier("${relType}")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@@ -35,14 +28,13 @@
|
||||||
apply plugin: 'com.github.johnrengelman.shadow'
|
apply plugin: 'com.github.johnrengelman.shadow'
|
||||||
apply plugin: 'com.hypherionmc.modutils.modpublisher'
|
apply plugin: 'com.hypherionmc.modutils.modpublisher'
|
||||||
|
|
||||||
@@ -19,7 +34,13 @@
|
|||||||
|
|
||||||
group = rootProject.group
|
group = rootProject.group
|
||||||
|
|
||||||
@@ -61,13 +60,11 @@
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
|
- mavenLocal()
|
||||||
|
|
||||||
|
maven {
|
||||||
|
name = "Modrinth"
|
||||||
|
@@ -68,7 +60,7 @@
|
||||||
shade "me.hypherionmc.moon-config:toml:${moon_config}"
|
shade "me.hypherionmc.moon-config:toml:${moon_config}"
|
||||||
shade "me.hypherionmc.moon-config:json:${moon_config}"
|
shade "me.hypherionmc.moon-config:json:${moon_config}"
|
||||||
shade "com.hypherionmc:rpcsdk:${rpc_sdk}"
|
shade "com.hypherionmc:rpcsdk:${rpc_sdk}"
|
||||||
@@ -28,13 +49,7 @@
|
|||||||
shade "net.kyori:adventure-api:${adventure}"
|
shade "net.kyori:adventure-api:${adventure}"
|
||||||
shade "net.kyori:adventure-text-serializer-gson:${adventure}"
|
shade "net.kyori:adventure-text-serializer-gson:${adventure}"
|
||||||
shade "net.kyori:adventure-text-minimessage:${adventure}"
|
shade "net.kyori:adventure-text-minimessage:${adventure}"
|
||||||
|
@@ -117,7 +109,7 @@
|
||||||
- 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 +109,7 @@
|
|
||||||
|
|
||||||
tasks.withType(JavaCompile).configureEach {
|
tasks.withType(JavaCompile).configureEach {
|
||||||
it.options.encoding = 'UTF-8'
|
it.options.encoding = 'UTF-8'
|
||||||
|
@@ -4,13 +4,13 @@
|
|||||||
mod_name=CraterLib
|
mod_name=CraterLib
|
||||||
|
|
||||||
# Shared
|
# Shared
|
||||||
-minecraft_version=1.21.2-pre1
|
-minecraft_version=1.21.2-rc1
|
||||||
+minecraft_version=1.20
|
+minecraft_version=1.20
|
||||||
project_group=com.hypherionmc.craterlib
|
project_group=com.hypherionmc.craterlib
|
||||||
|
|
||||||
# Fabric
|
# Fabric
|
||||||
-fabric_loader=0.16.5
|
-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_loader=0.15.11
|
||||||
+fabric_api=0.83.0+1.20
|
+fabric_api=0.83.0+1.20
|
||||||
|
|
||||||
@@ -18,11 +18,11 @@
|
|||||||
-forge_version=50.0.6
|
-forge_version=50.0.6
|
||||||
-
|
-
|
||||||
-# NeoForged
|
-# NeoForged
|
||||||
-neoforge_version=0.0-beta
|
-neoforge_version=21.2.0-alpha.1.21.2-rc1.20241017.224038
|
||||||
+forge_version=46.0.14
|
+forge_version=46.0.14
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
moon_config=1.0.9
|
moon_config=1.0.10
|
||||||
@@ -31,17 +28,16 @@
|
@@ -31,17 +28,16 @@
|
||||||
discord_formatter=2.0.0
|
discord_formatter=2.0.0
|
||||||
|
|
||||||
|
@@ -5,6 +5,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
-rootProject.name = 'CraterLib'
|
-rootProject.name = 'CraterLib'
|
||||||
-include("Common", "Fabric", /*"NeoForge"*/)
|
-include("Common", "Fabric", "NeoForge")
|
||||||
+rootProject.name = 'CraterLib-1.20'
|
+rootProject.name = 'CraterLib-1.20'
|
||||||
+include("Common", "Fabric", "Forge")
|
+include("Common", "Fabric", "Forge")
|
||||||
|
@@ -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,15 +1,6 @@
|
|||||||
--- a/Fabric/build.gradle
|
--- a/Fabric/build.gradle
|
||||||
+++ b/Fabric/build.gradle
|
+++ b/Fabric/build.gradle
|
||||||
@@ -9,6 +9,8 @@
|
@@ -115,8 +115,8 @@
|
||||||
exclude(group: "net.fabricmc.fabric-api")
|
|
||||||
}
|
|
||||||
|
|
||||||
+ stupidRemapArch("dev.ftb.mods:ftb-essentials:${ftb_essentials}")
|
|
||||||
+
|
|
||||||
modImplementation "maven.modrinth:fabrictailor:${fabrictailor}"
|
|
||||||
modImplementation "maven.modrinth:vanish:${vanish}"
|
|
||||||
|
|
||||||
@@ -113,8 +115,8 @@
|
|
||||||
setVersionType("release")
|
setVersionType("release")
|
||||||
setChangelog("https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-fabric.md")
|
setChangelog("https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-fabric.md")
|
||||||
setProjectVersion("${minecraft_version}-${project.version}")
|
setProjectVersion("${minecraft_version}-${project.version}")
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
- "fabricloader": ">=0.16.2",
|
- "fabricloader": ">=0.16.2",
|
||||||
+ "fabricloader": ">=0.15.0",
|
+ "fabricloader": ">=0.15.0",
|
||||||
"fabric-api": "*",
|
"fabric-api": "*",
|
||||||
- "minecraft": ">=1.21.2",
|
- "minecraft": "*",
|
||||||
+ "minecraft": ">=1.21",
|
+ "minecraft": ">=1.21",
|
||||||
"java": ">=21"
|
"java": ">=21"
|
||||||
}
|
}
|
||||||
|
@@ -1,15 +1,20 @@
|
|||||||
--- a/NeoForge/build.gradle
|
--- a/NeoForge/build.gradle
|
||||||
+++ b/NeoForge/build.gradle
|
+++ b/NeoForge/build.gradle
|
||||||
@@ -4,6 +4,8 @@
|
@@ -34,12 +34,7 @@
|
||||||
// Compat
|
|
||||||
modImplementation("maven.modrinth:vanishmod:${vanishmod_neo}")
|
|
||||||
|
|
||||||
+ stupidRemapArch("dev.ftb.mods:ftb-essentials-neoforge:${ftb_essentials}")
|
unimined.minecraft {
|
||||||
+
|
neoForged {
|
||||||
// Do not edit or remove
|
- if (isPort) {
|
||||||
implementation project(":Common")
|
- loader "net.neoforged:neoforge:${neoforge_version}:universal"
|
||||||
|
- } else {
|
||||||
|
- loader neoforge_version
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
+ loader neoforge_version
|
||||||
|
mixinConfig("${mod_id}.mixins.json", "${mod_id}.neoforge.mixins.json")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -106,8 +108,8 @@
|
@@ -113,8 +108,8 @@
|
||||||
setVersionType("release")
|
setVersionType("release")
|
||||||
setChangelog("https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-forge.md")
|
setChangelog("https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-forge.md")
|
||||||
setProjectVersion("${minecraft_version}-${project.version}")
|
setProjectVersion("${minecraft_version}-${project.version}")
|
||||||
|
@@ -1,11 +1,33 @@
|
|||||||
--- a/build.gradle
|
--- a/build.gradle
|
||||||
+++ b/build.gradle
|
+++ b/build.gradle
|
||||||
@@ -66,8 +66,6 @@
|
@@ -7,21 +7,15 @@
|
||||||
shade "net.kyori:adventure-text-serializer-gson:${adventure}"
|
id 'maven-publish'
|
||||||
shade "net.kyori:adventure-text-minimessage:${adventure}"
|
}
|
||||||
|
|
||||||
- stupidRemapArch("dev.ftb.mods:ftb-essentials:${ftb_essentials}")
|
-var relType = project.properties["releaseType"] ?: "${release_type}"
|
||||||
-
|
-
|
||||||
compileOnly 'net.luckperms:api:5.4'
|
-ext {
|
||||||
compileOnly("org.projectlombok:lombok:${lombok}")
|
- isPort = (relType == 'port')
|
||||||
annotationProcessor("org.projectlombok:lombok:${lombok}")
|
-}
|
||||||
|
-
|
||||||
|
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}")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@@ -42,7 +36,6 @@
|
||||||
|
|
||||||
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
|
- mavenLocal()
|
||||||
|
|
||||||
|
maven {
|
||||||
|
name = "Modrinth"
|
||||||
|
@@ -4,13 +4,13 @@
|
|||||||
mod_name=CraterLib
|
mod_name=CraterLib
|
||||||
|
|
||||||
# Shared
|
# Shared
|
||||||
-minecraft_version=1.21.2-pre1
|
-minecraft_version=1.21.2-rc1
|
||||||
+minecraft_version=1.21
|
+minecraft_version=1.21
|
||||||
project_group=com.hypherionmc.craterlib
|
project_group=com.hypherionmc.craterlib
|
||||||
|
|
||||||
# Fabric
|
# Fabric
|
||||||
-fabric_loader=0.16.5
|
-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_loader=0.15.11
|
||||||
+fabric_api=0.100.1+1.21
|
+fabric_api=0.100.1+1.21
|
||||||
|
|
||||||
@@ -18,11 +18,11 @@
|
|||||||
forge_version=50.0.6
|
forge_version=50.0.6
|
||||||
|
|
||||||
# NeoForged
|
# NeoForged
|
||||||
-neoforge_version=0.0-beta
|
-neoforge_version=21.2.0-alpha.1.21.2-rc1.20241017.224038
|
||||||
+neoforge_version=0-beta
|
+neoforge_version=0-beta
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
moon_config=1.0.9
|
moon_config=1.0.10
|
||||||
@@ -41,7 +41,7 @@
|
@@ -41,7 +41,7 @@
|
||||||
# Publishing
|
# Publishing
|
||||||
curse_id=867099
|
curse_id=867099
|
||||||
|
@@ -1,8 +0,0 @@
|
|||||||
--- a/settings.gradle
|
|
||||||
+++ b/settings.gradle
|
|
||||||
@@ -14,4 +14,4 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
rootProject.name = 'CraterLib'
|
|
||||||
-include("Common", "Fabric", /*"NeoForge"*/)
|
|
||||||
+include("Common", "Fabric", "NeoForge")
|
|
Reference in New Issue
Block a user