mirror of
https://github.com/GTNewHorizons/CodeChickenCore.git
synced 2026-11-11 15:57:42 +00:00
Add static field for requiring compiled version
This commit is contained in:
1 parent
8f307b2006
commit
98091b6192
4 files changed
+4
-1
No files matched your search
@@ -40,6 +40,7 @@ println config.mc_version + "-" + config.forge_version
|
||||
// Setup the forge minecraft plugin data. Specify the preferred forge/minecraft version here
|
||||
minecraft {
|
||||
version = config.mc_version + "-" + config.forge_version
|
||||
replace '${mod_version}', project.config.mod_version
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
mc_version=1.7.10
|
||||
forge_version=10.13.0.1151
|
||||
ccl_version=1.1.1.93
|
||||
mod_version=1.0.1
|
||||
mod_version=1.0.2
|
||||
@@ -42,6 +42,7 @@ public class CodeChickenCoreModContainer extends DummyModContainer
|
||||
LinkedList<ArtifactVersion> deps = new LinkedList<ArtifactVersion>();
|
||||
if(!getVersion().contains("$")) {
|
||||
deps.add(VersionParser.parseVersionReference("NotEnoughItems@[1.0.2,)"));
|
||||
deps.add(VersionParser.parseVersionReference("EnderStorage@[1.4.4,)"));
|
||||
}
|
||||
return deps;
|
||||
}
|
||||
|
||||
@@ -31,6 +31,7 @@ import org.apache.logging.log4j.Logger;
|
||||
public class CodeChickenCorePlugin implements IFMLLoadingPlugin, IFMLCallHook
|
||||
{
|
||||
public static final String mcVersion = "[1.7.10]";
|
||||
public static final String version = "${mod_version}";
|
||||
|
||||
public static File minecraftDir;
|
||||
public static String currentMcVersion;
|
||||
|
||||
Reference in new issue
Block a user