mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-28 15:46:01 +00:00
update versioning
This commit is contained in:
1 parent
5a2fc5a25f
commit
e9ab1095df
5 files changed
+28
-13
No files matched your search
+20
-6
@@ -1,4 +1,4 @@
|
||||
defaultTasks 'fullBuild'
|
||||
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
@@ -11,9 +11,23 @@ buildscript {
|
||||
classpath ('com.anatawa12.forge:ForgeGradle:1.2-1.0.+') {
|
||||
changing = true
|
||||
}
|
||||
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.27.1"
|
||||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
id 'java-library'
|
||||
}
|
||||
|
||||
apply plugin: 'forge'
|
||||
apply plugin: 'idea'
|
||||
apply plugin: 'java'
|
||||
apply plugin: "com.jfrog.artifactory"
|
||||
apply plugin: "maven-publish"
|
||||
apply plugin: "maven"
|
||||
|
||||
defaultTasks 'fullBuild'
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
name 'central'
|
||||
@@ -22,8 +36,6 @@ repositories {
|
||||
|
||||
}
|
||||
|
||||
apply plugin: 'idea'
|
||||
|
||||
idea {
|
||||
module {
|
||||
// For some reason this is necessary for IDEA 2014 workspaces to recognize assets
|
||||
@@ -31,8 +43,6 @@ idea {
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'forge'
|
||||
|
||||
// Define properties file
|
||||
ext.configFile = file "build.properties"
|
||||
|
||||
@@ -59,7 +69,11 @@ targetCompatibility = '1.8'
|
||||
|
||||
minecraft {
|
||||
version = config.minecraft_version + "-" + config.forge_version
|
||||
runDir = "eclipse"
|
||||
replaceIn "mekanism/common/Mekanism.java"
|
||||
replaceIn "mekanism/generators/common/MekanismGenerators.java"
|
||||
replaceIn "mekanism/tools/common/MekanismTools.java"
|
||||
replace "GRADLE_MODVERSION", config.mod_version
|
||||
replace "GRADLE_VERSIONMOD", config.alt_version
|
||||
}
|
||||
|
||||
processResources
|
||||
|
||||
+2
-1
@@ -4,4 +4,5 @@ FMP_version=1.2.0.347
|
||||
CCLIB_version=1.1.3.141
|
||||
NEI_version=1.0.5.120
|
||||
CCC_version=1.0.7.48
|
||||
mod_version=9.10.11
|
||||
mod_version=9.10.12
|
||||
alt_version=9, 10, 12
|
||||
@@ -142,7 +142,7 @@ import cpw.mods.fml.common.registry.GameRegistry;
|
||||
* @author AidanBrady
|
||||
*
|
||||
*/
|
||||
@Mod(modid = "Mekanism", name = "Mekanism", version = "9.10.11", guiFactory = "mekanism.client.gui.ConfigGuiFactory",
|
||||
@Mod(modid = "Mekanism", name = "Mekanism", version = "GRADLE_MODVERSION", guiFactory = "mekanism.client.gui.ConfigGuiFactory",
|
||||
dependencies = "after:ForgeMultipart;after:BuildCraft;after:BuildCraftAPI;after:IC2;after:CoFHCore;" +
|
||||
"after:ComputerCraft;after:Galacticraft API;after:MetallurgyCore")
|
||||
public class Mekanism
|
||||
@@ -168,7 +168,7 @@ public class Mekanism
|
||||
public static Configuration configuration;
|
||||
|
||||
/** Mekanism version number */
|
||||
public static Version versionNumber = new Version(9, 10, 11);
|
||||
public static Version versionNumber = new Version(GRADLE_VERSIONMOD);
|
||||
|
||||
/** MultiblockManagers for various structrures */
|
||||
public static MultiblockManager<SynchronizedTankData> tankManager = new MultiblockManager<SynchronizedTankData>("dynamicTank");
|
||||
|
||||
@@ -44,7 +44,7 @@ import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
|
||||
import cpw.mods.fml.common.network.NetworkRegistry;
|
||||
|
||||
@Mod(modid = "MekanismGenerators", name = "MekanismGenerators", version = "9.10.11", dependencies = "required-after:Mekanism", guiFactory = "mekanism.generators.client.gui.GeneratorsGuiFactory")
|
||||
@Mod(modid = "MekanismGenerators", name = "MekanismGenerators", version = "GRADLE_MODVERSION", dependencies = "required-after:Mekanism", guiFactory = "mekanism.generators.client.gui.GeneratorsGuiFactory")
|
||||
public class MekanismGenerators implements IModule
|
||||
{
|
||||
@SidedProxy(clientSide = "mekanism.generators.client.GeneratorsClientProxy", serverSide = "mekanism.generators.common.GeneratorsCommonProxy")
|
||||
@@ -54,7 +54,7 @@ public class MekanismGenerators implements IModule
|
||||
public static MekanismGenerators instance;
|
||||
|
||||
/** MekanismGenerators version number */
|
||||
public static Version versionNumber = new Version(9, 10, 11);
|
||||
public static Version versionNumber = new Version(GRADLE_VERSIONMOD);
|
||||
|
||||
public static MultiblockManager<SynchronizedTurbineData> turbineManager = new MultiblockManager<SynchronizedTurbineData>("industrialTurbine");
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
|
||||
|
||||
@Mod(modid = "MekanismTools", name = "MekanismTools", version = "9.10.11", dependencies = "required-after:Mekanism", guiFactory = "mekanism.tools.client.gui.ToolsGuiFactory")
|
||||
@Mod(modid = "MekanismTools", name = "MekanismTools", version = "GRADLE_MODVERSION", dependencies = "required-after:Mekanism", guiFactory = "mekanism.tools.client.gui.ToolsGuiFactory")
|
||||
public class MekanismTools implements IModule
|
||||
{
|
||||
@SidedProxy(clientSide = "mekanism.tools.client.ToolsClientProxy", serverSide = "mekanism.tools.common.ToolsCommonProxy")
|
||||
@@ -39,7 +39,7 @@ public class MekanismTools implements IModule
|
||||
public static MekanismTools instance;
|
||||
|
||||
/** MekanismTools version number */
|
||||
public static Version versionNumber = new Version(9, 10, 11);
|
||||
public static Version versionNumber = new Version(GRADLE_VERSIONMOD);
|
||||
|
||||
//Enums: Tools
|
||||
public static ToolMaterial toolOBSIDIAN;
|
||||
|
||||
Reference in new issue
Block a user