Skip to content

Commit

Permalink
🐸=πŸ¦€ (platformPackage isn't working, so i moved everything to neoforge)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxNeedsSnacks committed Dec 26, 2023
1 parent dc1a7bb commit f572603
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 10 deletions.
6 changes: 3 additions & 3 deletions mcmc.dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
"classifier": "sources"
},
{
"suffix": "forge",
"directory": "forge/build/libs",
"pattern": "rhino-forge-([\\d-.]+build\\.\\d+)\\.jar",
"suffix": "neoforge",
"directory": "neoforge/build/libs",
"pattern": "rhino-neoforge-([\\d-.]+build\\.\\d+)\\.jar",
"version": "$1"
},
{
Expand Down
6 changes: 2 additions & 4 deletions forge/build.gradle β†’ neoforge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ plugins {

architectury {
platformSetupLoomIde()
neoForge {
platformPackage = "forge"
}
neoForge()
}

configurations {
Expand Down Expand Up @@ -97,7 +95,7 @@ unifiedPublishing {

publishing {
publications {
mavenForge(MavenPublication) {
mavenNeoForge(MavenPublication) {
artifactId = "${rootProject.archives_base_name}-neoforge"
from components.java
}
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.latvian.mods.rhino.mod.forge;
package dev.latvian.mods.rhino.mod.neoforge;

import dev.latvian.mods.rhino.mod.util.MojangMappings;
import dev.latvian.mods.rhino.mod.util.RemappingHelper;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.latvian.mods.rhino.mod.util.forge;
package dev.latvian.mods.rhino.mod.util.neoforge;

import net.neoforged.fml.ModList;
import net.neoforged.fml.loading.FMLLoader;
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ pluginManagement {
}
}

include "common", "fabric", "forge"
include "common", "fabric", "neoforge"

rootProject.name = 'Rhino'

0 comments on commit f572603

Please sign in to comment.