forked from HbmMods/Hbm-s-Nuclear-Tech-GIT
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Drillgon Chickens <drillgon200@gmail.com>
- Loading branch information
1 parent
3112855
commit d7036aa
Showing
944 changed files
with
58,783 additions
and
21,601 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,22 @@ | ||
# eclipse | ||
bin | ||
*.launch | ||
.settings | ||
.metadata | ||
.classpath | ||
.project | ||
|
||
# idea | ||
out | ||
*.ipr | ||
*.iws | ||
*.iml | ||
.idea | ||
|
||
# gradle | ||
build | ||
.gradle | ||
*.properties | ||
|
||
# other | ||
eclipse | ||
run | ||
# eclipse | ||
bin | ||
*.launch | ||
.settings | ||
.metadata | ||
.classpath | ||
.project | ||
|
||
# idea | ||
out | ||
*.ipr | ||
*.iws | ||
*.iml | ||
.idea | ||
|
||
# gradle | ||
build | ||
.gradle | ||
|
||
# other | ||
eclipse | ||
run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,76 +1,102 @@ | ||
buildscript { | ||
repositories { | ||
maven { url = 'https://files.minecraftforge.net/maven' } | ||
maven { url = 'https://plugins.gradle.org/m2' } | ||
mavenCentral() | ||
jcenter() | ||
} | ||
dependencies { | ||
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT' | ||
classpath 'com.palantir.gradle.gitversion:gradle-git-version:0.12.3' | ||
} | ||
repositories { | ||
jcenter() | ||
maven { url = "https://files.minecraftforge.net/maven" } | ||
} | ||
dependencies { | ||
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT' | ||
} | ||
} | ||
|
||
apply plugin: 'net.minecraftforge.gradle.forge' | ||
apply plugin: 'com.palantir.git-version' | ||
//Only edit below this line, the above code adds and enables the necessary things for Forge to be setup. | ||
|
||
|
||
version = "1.4.0a" | ||
group = "com.hbm" // http://maven.apache.org/guides/mini/guide-naming-conventions.html | ||
archivesBaseName = "hbm" | ||
version gitVersion().substring(5) // Cut off the hbm- to make the version string clearer | ||
|
||
// Need this here so eclipse task generates correctly. | ||
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8' | ||
compileJava.options.encoding = 'UTF-8' | ||
tasks.withType(JavaCompile) { | ||
options.encoding = 'UTF-8' | ||
} | ||
|
||
sourceCompatibility = targetCompatibility = '1.8' // Need this here so eclipse task generates correctly. | ||
compileJava { | ||
sourceCompatibility = targetCompatibility = '1.8' | ||
} | ||
|
||
minecraft { | ||
version = "1.12.2-14.23.5.2847" | ||
mappings = "snapshot_20171003" | ||
runDir = "run" | ||
version = "1.12.2-14.23.5.2847" | ||
runDir = "run" | ||
|
||
// the mappings can be changed at any time, and must be in the following format. | ||
// snapshot_YYYYMMDD snapshot are built nightly. | ||
// stable_# stables are built at the discretion of the MCP team. | ||
// Use non-default mappings at your own risk. they may not always work. | ||
// simply re-run your setup task after changing the mappings to update your workspace. | ||
mappings = "snapshot_20171003" | ||
useDepAts = true | ||
// makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable. | ||
} | ||
|
||
repositories { | ||
maven { | ||
name = 'JEI Repository' | ||
url = 'https://dvs1.progwml6.com/files/maven/' | ||
} | ||
maven { | ||
// location of the maven that hosts JEI files | ||
name = "Progwml6 maven" | ||
url = "https://dvs1.progwml6.com/files/maven/" | ||
} | ||
maven { | ||
// location of a maven mirror for JEI files, as a fallback | ||
name = "ModMaven" | ||
url = "https://modmaven.k-4u.nl" | ||
} | ||
} | ||
|
||
dependencies { | ||
deobfCompile 'mezz.jei:jei_1.12.2:4.15.0.291:api' | ||
runtime 'mezz.jei:jei_1.12.2:4.15.0.291' | ||
} | ||
// you may put jars on which you depend on in ./libs | ||
// or you may define them like so.. | ||
//compile "some.group:artifact:version:classifier" | ||
//compile "some.group:artifact:version" | ||
|
||
// real examples | ||
//compile 'com.mod-buildcraft:buildcraft:6.0.8:dev' // adds buildcraft to the dev env | ||
//compile 'com.googlecode.efficient-java-matrix-library:ejml:0.24' // adds ejml to the dev env | ||
|
||
// the 'provided' configuration is for optional dependencies that exist at compile-time but might not at runtime. | ||
//provided 'com.mod-buildcraft:buildcraft:6.0.8:dev' | ||
|
||
// the deobf configurations: 'deobfCompile' and 'deobfProvided' are the same as the normal compile and provided, | ||
// except that these dependencies get remapped to your current MCP mappings | ||
//deobfCompile 'com.mod-buildcraft:buildcraft:6.0.8:dev' | ||
//deobfProvided 'com.mod-buildcraft:buildcraft:6.0.8:dev' | ||
|
||
// for more info... | ||
// http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html | ||
// http://www.gradle.org/docs/current/userguide/dependency_management.html | ||
|
||
// compile against the JEI API but do not include it at runtime | ||
deobfProvided "mezz.jei:jei_${mc_version}:${jei_version}:api" | ||
// at runtime, use the full JEI jar | ||
runtime "mezz.jei:jei_${mc_version}:${jei_version}" | ||
|
||
jar { | ||
manifest { | ||
attributes([ | ||
"Specification-Title": project.name, | ||
"Specification-Vendor": "HBM", | ||
"Specification-Version": "1", // We are version 1 of ourselves | ||
"Implementation-Title": project.name, | ||
"Implementation-Version": project.version, | ||
"Implementation-Vendor": "HBM", | ||
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ") | ||
]) | ||
} | ||
} | ||
|
||
processResources { | ||
// this will ensure that this task is redone when the versions change. | ||
inputs.property "mcversion", project.minecraft.version | ||
inputs.property "version", project.version | ||
|
||
// replace stuff in mcmod.info, nothing else | ||
from(sourceSets.main.resources.srcDirs) { | ||
include 'mcmod.info' | ||
|
||
// replace version and mcversion | ||
expand 'version': project.version, 'mcversion': project.minecraft.version | ||
} | ||
|
||
// copy everything else except the mcmod.info | ||
from(sourceSets.main.resources.srcDirs) { | ||
exclude 'mcmod.info' | ||
} | ||
|
||
// Move ATs to meta inf directory | ||
rename '(.+_at.cfg)', 'META-INF/$1' | ||
// this will ensure that this task is redone when the versions change. | ||
inputs.property "version", project.version | ||
inputs.property "mcversion", project.minecraft.version | ||
|
||
// replace stuff in mcmod.info, nothing else | ||
from(sourceSets.main.resources.srcDirs) { | ||
include 'mcmod.info' | ||
|
||
// replace version and mcversion | ||
expand 'version':project.version, 'mcversion':project.minecraft.version | ||
} | ||
|
||
// copy everything else except the mcmod.info | ||
from(sourceSets.main.resources.srcDirs) { | ||
exclude 'mcmod.info' | ||
} | ||
rename '(.+_at.cfg)', 'META-INF/$1' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# Sets default memory used for gradle commands. Can be overridden by user or command line properties. | ||
# This is required to provide enough memory for the Minecraft decompilation process. | ||
org.gradle.jvmargs=-Xmx3G | ||
org.gradle.daemon=false | ||
mc_version=1.12.2 | ||
jei_version=4.15.0.291 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#Mon Sep 14 12:28:28 PDT 2015 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.3-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14-bin.zip |
Oops, something went wrong.