Skip to content

Commit

Permalink
Move config to Forge project
Browse files Browse the repository at this point in the history
  • Loading branch information
62832 committed Dec 3, 2023
1 parent d08a019 commit c4fec60
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ plugins {

val modId: String by project
val modVersion = (System.getenv("MEGA_VERSION") ?: "v0.0.0").substring(1)
val minecraftVersion: String = libs.versions.minecraft.get()
val minecraftVersion = libs.versions.minecraft.get()

val platforms by extra {
property("enabledPlatforms").toString().split(',')
Expand Down
1 change: 0 additions & 1 deletion common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ dependencies {
modImplementation(libs.fabric.loader)
modCompileOnly(libs.fabric.api)
modCompileOnly(libs.ae2.fabric)
modCompileOnly(libs.cloth.fabric)
modCompileOnly(libs.ae2wtlib.fabric)
modCompileOnly(libs.appbot.fabric)
modCompileOnly(libs.botania.fabric) { isTransitive = false }
Expand Down
3 changes: 1 addition & 2 deletions fabric/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ dependencies {
modImplementation(libs.fabric.api)

modImplementation(libs.ae2.fabric)
modImplementation(libs.cloth.fabric)
modImplementation(libs.modmenu)

modImplementation(libs.appbot.fabric) { exclude(group = "dev.emi", module = "emi-fabric") }
modRuntimeOnly(libs.botania.fabric) { exclude(group = "dev.emi", module = "emi-fabric") }
Expand All @@ -72,6 +70,7 @@ dependencies {

modRuntimeOnly(libs.jei.fabric)
modRuntimeOnly(libs.jade.fabric)
modRuntimeOnly(libs.modmenu)
}

tasks {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
import gripe._90.megacells.core.Platform;
import gripe._90.megacells.definition.MEGABlockEntities;
import gripe._90.megacells.definition.MEGABlocks;
import gripe._90.megacells.definition.MEGAConfig;
import gripe._90.megacells.definition.MEGACreativeTab;
import gripe._90.megacells.definition.MEGAItems;
import gripe._90.megacells.definition.MEGAMenus;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import gripe._90.megacells.MEGACells;
import gripe._90.megacells.core.Addons;
import gripe._90.megacells.definition.MEGAConfig;
import gripe._90.megacells.integration.appmek.AppMekIntegration;

@Mod(MEGACells.MODID)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package gripe._90.megacells.definition;
package gripe._90.megacells.forge;

import me.shedaniel.autoconfig.AutoConfig;
import me.shedaniel.autoconfig.ConfigData;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import mekanism.api.chemical.attribute.ChemicalAttributeValidator;
import mekanism.common.registries.MekanismGases;

import gripe._90.megacells.definition.MEGAConfig;
import gripe._90.megacells.forge.MEGAConfig;

public class RadioactiveCellInventory implements StorageCell {

Expand Down
5 changes: 2 additions & 3 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,8 @@ dependencyResolutionManagement {
library("ae2-forge", "appeng", "appliedenergistics2-forge").versionRef("ae2")

version("cloth-config", "11.1.106")
library("cloth-fabric", "me.shedaniel.cloth", "cloth-config-fabric").versionRef("cloth-config")
library("cloth-forge", "me.shedaniel.cloth", "cloth-config-forge").versionRef("cloth-config")

library("modmenu", "com.terraformersmc", "modmenu").version("7.2.1")

// AE2WTLib
val ae2wtVersion = "15.0.1-beta"
version("ae2wtlib", ae2wtVersion)
Expand Down Expand Up @@ -67,6 +64,8 @@ dependencyResolutionManagement {

library("jade-fabric", "maven.modrinth", "jade").version("ckXpheui")
library("jade-forge", "maven.modrinth", "jade").version("5gvujWrb")

library("modmenu", "com.terraformersmc", "modmenu").version("7.2.1")
}
}
}
Expand Down

0 comments on commit c4fec60

Please sign in to comment.