Bump version 4.17.57
- Urgent dupe fix - Added some automatization to buildscript
This commit is contained in:
parent
ff7e477f47
commit
a74a138fab
3 changed files with 38 additions and 7 deletions
35
build.gradle
35
build.gradle
|
@ -29,13 +29,37 @@ compileJava {
|
||||||
sourceCompatibility = targetCompatibility = '1.8'
|
sourceCompatibility = targetCompatibility = '1.8'
|
||||||
}
|
}
|
||||||
|
|
||||||
version = "v417.56"
|
version = "v417.57"
|
||||||
group = "gregtechmod"
|
group = "gregtechmod"
|
||||||
archivesBaseName = "gregtechmod"
|
archivesBaseName = "gregtechmod"
|
||||||
|
|
||||||
minecraft {
|
minecraft {
|
||||||
version = "${mc_ver}-${forge_ver}-${mc_ver}"
|
version = "${mc_ver}-${forge_ver}-${mc_ver}"
|
||||||
runDir = "eclipse"
|
runDir = "eclipse"
|
||||||
|
replace("@VERSION@", getValidVersion())
|
||||||
|
replace("public static volatile int VERSION = 417",
|
||||||
|
"public static volatile int VERSION = " + getValidVersion().replace('.', ''))
|
||||||
|
|
||||||
|
includes.addAll([
|
||||||
|
"GT_Mod.java",
|
||||||
|
"GregTech_API.java",
|
||||||
|
"BaseMetaTileEntity.java",
|
||||||
|
"BaseMetaPipeEntity.java",
|
||||||
|
"MetaTileEntity.java",
|
||||||
|
"MetaPipeEntity.java",
|
||||||
|
"GT_CircuitryBehavior.java",
|
||||||
|
"GT_CoverBehavior.java",
|
||||||
|
"GT_Config.java",
|
||||||
|
"GT_LanguageManager.java",
|
||||||
|
"GT_ModHandler.java",
|
||||||
|
"GT_OreDictUnificator.java",
|
||||||
|
"Recipe.java",
|
||||||
|
"GT_Utility.java",
|
||||||
|
"GT_RecipeRegistrator.java",
|
||||||
|
"Element.java",
|
||||||
|
"Materials.java",
|
||||||
|
"OrePrefixes.java"
|
||||||
|
])
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
@ -103,7 +127,7 @@ processResources {
|
||||||
include 'mcmod.info'
|
include 'mcmod.info'
|
||||||
|
|
||||||
// replace version and mcversion
|
// replace version and mcversion
|
||||||
expand 'version':project.version, 'mcversion':project.minecraft.version
|
expand 'version': getValidVersion(), 'mcversion':project.minecraft.version
|
||||||
}
|
}
|
||||||
|
|
||||||
// copy everything else, thats not the mcmod.info
|
// copy everything else, thats not the mcmod.info
|
||||||
|
@ -111,3 +135,10 @@ processResources {
|
||||||
exclude 'mcmod.info'
|
exclude 'mcmod.info'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def getValidVersion() {
|
||||||
|
def version = new StringBuilder(project.version.toString())
|
||||||
|
version.deleteCharAt(0)
|
||||||
|
version.insert(1, '.')
|
||||||
|
return version.toString()
|
||||||
|
}
|
|
@ -139,7 +139,7 @@ import cpw.mods.fml.relauncher.Side;
|
||||||
/**
|
/**
|
||||||
* @author Gregorius Techneticies
|
* @author Gregorius Techneticies
|
||||||
*/
|
*/
|
||||||
@Mod(modid = "gregtech_addon", name="GregTech-Addon", version="4.16.40", useMetadata=false, dependencies="required-after:IC2; after:Railcraft; after:ThermalExpansion; after:ThermalExpansion|Transport; after:ThermalExpansion|Energy; after:ThermalExpansion|Factory; before:RedPowerCore; before:RedPowerBase; before:RedPowerMachine; before:RedPowerCompat; before:RedPowerWiring; before:RedPowerLogic; before:RedPowerLighting; before:RedPowerWorld; before:RedPowerControl;")
|
@Mod(modid = "gregtech_addon", name="GregTech-Addon", version="@VERSION@", useMetadata=false, dependencies="required-after:IC2; after:Railcraft; after:ThermalExpansion; after:ThermalExpansion|Transport; after:ThermalExpansion|Energy; after:ThermalExpansion|Factory; before:RedPowerCore; before:RedPowerBase; before:RedPowerMachine; before:RedPowerCompat; before:RedPowerWiring; before:RedPowerLogic; before:RedPowerLighting; before:RedPowerWorld; before:RedPowerControl;")
|
||||||
public class GT_Mod implements IGT_Mod {
|
public class GT_Mod implements IGT_Mod {
|
||||||
@Instance
|
@Instance
|
||||||
public static GT_Mod instance;
|
public static GT_Mod instance;
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"name": "GregTech-Addon",
|
"name": "GregTech-Addon",
|
||||||
"description": "This Addon adds the awesome Technology of GregTech-Intergalactical to your World! Fusionreactors, Lightningrods and many other Technologies and convenient Recipes are added by this Addon, if you let them enabled in the allmighty Config, of course",
|
"description": "This Addon adds the awesome Technology of GregTech-Intergalactical to your World! Fusionreactors, Lightningrods and many other Technologies and convenient Recipes are added by this Addon, if you let them enabled in the allmighty Config, of course",
|
||||||
"mcversion": "${mcversion}",
|
"mcversion": "${mcversion}",
|
||||||
"version": "4.17.56",
|
"version": "${version}",
|
||||||
"logoFile": "/assets/gregtech_addon/textures/LogoGTI_Long.png",
|
"logoFile": "/assets/gregtech_addon/textures/LogoGTI_Long.png",
|
||||||
"url": "https://github.com/Nukepowered/GregTech4",
|
"url": "https://github.com/Nukepowered/GregTech4",
|
||||||
"updateUrl": "",
|
"updateUrl": "",
|
||||||
|
@ -11,5 +11,5 @@
|
||||||
"credits": "Alblaka and his Team for Industrialcraft, mistaqur for the original NEI-Plugin, Mr. Brain, TheSirusKing and matix for Textures, TheDarkDnKTv and sferatime for porting",
|
"credits": "Alblaka and his Team for Industrialcraft, mistaqur for the original NEI-Plugin, Mr. Brain, TheSirusKing and matix for Textures, TheDarkDnKTv and sferatime for porting",
|
||||||
"parent": "",
|
"parent": "",
|
||||||
"screenshots": [],
|
"screenshots": [],
|
||||||
"dependencies": ["Industrialcraft"]
|
"dependencies": ["IC2"]
|
||||||
}]
|
}]
|
Loading…
Reference in a new issue