mirror of
https://github.com/GTNewHorizons/Opis.git
synced 2026-11-22 21:20:04 +00:00
Fix tags
This commit is contained in:
1 parent
3bd5ed1846
commit
5e83ce7d4c
3 files changed
+15
-9
No files matched your search
+9
-5
@@ -36,15 +36,19 @@ enableModernJavaSyntax = true
|
||||
# Turns most publicly visible List, Map, etc. into proper List<Type>, Map<K, V> types
|
||||
enableGenericInjection = true
|
||||
|
||||
# Generate a class with String fields for the mod id, name, version and group name named with the fields below
|
||||
generateGradleTokenClass = mcp.mobius.Tags
|
||||
gradleTokenModId =
|
||||
gradleTokenModName =
|
||||
gradleTokenVersion = VERSION
|
||||
gradleTokenGroupName =
|
||||
# [DEPRECATED]
|
||||
# Multiple source files can be defined here by providing a comma-seperated list: Class1.java,Class2.java,Class3.java
|
||||
# public static final String VERSION = "GRADLETOKEN_VERSION";
|
||||
# The string's content will be replaced with your mod's version when compiled. You should use this to specify your mod's
|
||||
# version in @Mod([...], version = VERSION, [...])
|
||||
# Leave these properties empty to skip individual token replacements
|
||||
replaceGradleTokenInFile = modOpis.java,CoreContainer.java
|
||||
gradleTokenModId = GRADLETOKEN_MODID
|
||||
gradleTokenModName = GRADLETOKEN_MODNAME
|
||||
gradleTokenVersion = GRADLETOKEN_VERSION
|
||||
gradleTokenGroupName = GRADLETOKEN_GROUPNAME
|
||||
replaceGradleTokenInFile =
|
||||
|
||||
# In case your mod provides an API for other mods to implement you may declare its package here. Otherwise, you can
|
||||
# leave this property empty.
|
||||
|
||||
@@ -7,6 +7,7 @@ import com.google.common.eventbus.EventBus;
|
||||
import cpw.mods.fml.common.DummyModContainer;
|
||||
import cpw.mods.fml.common.LoadController;
|
||||
import cpw.mods.fml.common.ModMetadata;
|
||||
import mcp.mobius.Tags;
|
||||
|
||||
public class CoreContainer extends DummyModContainer {
|
||||
|
||||
@@ -16,7 +17,7 @@ public class CoreContainer extends DummyModContainer {
|
||||
ModMetadata md = getMetadata();
|
||||
md.modId = "MobiusCore";
|
||||
md.name = "MobiusCore";
|
||||
md.version = "GRADLETOKEN_VERSION";
|
||||
md.version = Tags.VERSION;
|
||||
md.credits = "ProfMobius";
|
||||
md.authorList = Arrays.asList("ProfMobius");
|
||||
md.description = "";
|
||||
|
||||
@@ -19,6 +19,7 @@ import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||
import cpw.mods.fml.common.event.FMLServerStartingEvent;
|
||||
import cpw.mods.fml.common.event.FMLServerStoppedEvent;
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
import mcp.mobius.Tags;
|
||||
import mcp.mobius.mobiuscore.profiler.ProfilerSection;
|
||||
import mcp.mobius.opis.commands.client.CommandOpis;
|
||||
import mcp.mobius.opis.commands.server.CommandAddPrivileged;
|
||||
@@ -64,9 +65,9 @@ import mcp.mobius.opis.tools.TileDebug;
|
||||
import mcp.mobius.opis.tools.TileLag;
|
||||
|
||||
@Mod(
|
||||
modid = "GRADLETOKEN_MODID",
|
||||
name = "GRADLETOKEN_MODNAME",
|
||||
version = "GRADLETOKEN_VERSION",
|
||||
modid = "Opis",
|
||||
name = "Opis",
|
||||
version = Tags.VERSION,
|
||||
acceptableRemoteVersions = "*")
|
||||
public class modOpis {
|
||||
|
||||
|
||||
Reference in new issue
Block a user