-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
179 changed files
with
7,241 additions
and
7,078 deletions.
There are no files selected for viewing
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,64 +1,91 @@ | ||
buildscript { | ||
repositories { | ||
jcenter() | ||
maven { url = "http://files.minecraftforge.net/maven" } | ||
} | ||
dependencies { | ||
classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT' | ||
} | ||
} | ||
apply plugin: 'net.minecraftforge.gradle.forge' | ||
//Only edit below this line, the above code adds and enables the necessary things for Forge to be setup. | ||
|
||
version = "${mc_version}-${mod_version}" | ||
group = "me.jacky1356400.exchangers" | ||
archivesBaseName = "Exchangers" | ||
|
||
sourceCompatibility = targetCompatibility = "1.8" | ||
compileJava { | ||
sourceCompatibility = targetCompatibility = "1.8" | ||
} | ||
|
||
minecraft { | ||
version = "${mc_version}-${forge_version}" | ||
runDir = "run" | ||
mappings = "${mappings_version}" | ||
} | ||
|
||
repositories { | ||
maven { | ||
url "http://dvs1.progwml6.com/files/maven" | ||
} | ||
maven { | ||
url "http://tehnut.info/maven" | ||
} | ||
} | ||
|
||
dependencies { | ||
compile files('libs/') | ||
deobfCompile "mezz.jei:jei_1.10.2:+:api" | ||
runtime "mezz.jei:jei_1.10.2:+" | ||
deobfCompile "mcp.mobius.waila:Hwyla:1.8.17-B31_1.10.2:api" | ||
runtime "mcp.mobius.waila:Hwyla:1.8.17-B31_1.10.2" | ||
} | ||
|
||
processResources { | ||
inputs.property "version", project.version | ||
inputs.property "mcversion", project.minecraft.version | ||
from(sourceSets.main.resources.srcDirs) { | ||
include 'mcmod.info' | ||
expand 'version':project.version, 'mcversion':project.minecraft.version | ||
} | ||
from(sourceSets.main.resources.srcDirs) { | ||
exclude 'mcmod.info' | ||
} | ||
} | ||
|
||
task deobfJar(type: Jar) { | ||
from sourceSets.main.output | ||
classifier = 'deobf' | ||
} | ||
|
||
artifacts { | ||
archives deobfJar | ||
} | ||
buildscript { | ||
repositories { | ||
jcenter() | ||
maven { url = "http://files.minecraftforge.net/maven" } | ||
} | ||
dependencies { | ||
classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT' | ||
} | ||
} | ||
apply plugin: 'net.minecraftforge.gradle.forge' | ||
|
||
version = "${mc_version}-${mod_version}" | ||
group = "jackyy.exchangers" | ||
archivesBaseName = "Exchangers" | ||
|
||
sourceCompatibility = targetCompatibility = "1.8" | ||
compileJava { | ||
sourceCompatibility = targetCompatibility = "1.8" | ||
} | ||
|
||
minecraft { | ||
version = "${forge_version}" | ||
runDir = "run" | ||
mappings = "${mappings_version}" | ||
|
||
replace '@FINGERPRINT@', project.findProperty('signSHA1') | ||
replaceIn "Exchangers.java" | ||
} | ||
|
||
repositories { | ||
maven { | ||
name = "JEI Maven" | ||
url = "http://dvs1.progwml6.com/files/maven" | ||
} | ||
maven { | ||
name = "Hwyla Maven" | ||
url = "http://tehnut.info/maven" | ||
} | ||
maven { | ||
name = "CoFH Maven" | ||
url = "http://maven.covers1624.net" | ||
} | ||
} | ||
|
||
dependencies { | ||
deobfCompile "mezz.jei:jei_1.10.2:+" | ||
deobfCompile "mcp.mobius.waila:Hwyla:1.8.17-B31_1.10.2" | ||
deobfCompile "cofh:CoFHCore:1.10.2-4.+:universal" | ||
} | ||
|
||
processResources { | ||
inputs.property "version", project.version | ||
inputs.property "mcversion", project.minecraft.version | ||
from(sourceSets.main.resources.srcDirs) { | ||
include 'mcmod.info' | ||
expand 'version':project.version, 'mcversion':project.minecraft.version | ||
} | ||
from(sourceSets.main.resources.srcDirs) { | ||
exclude 'mcmod.info' | ||
} | ||
rename '(.+_at.cfg)', 'META-INF/$1' | ||
} | ||
|
||
jar { | ||
manifest { | ||
attributes 'FMLAT': 'exchangers_at.cfg' | ||
} | ||
} | ||
|
||
task signJar(type: SignJar, dependsOn: reobfJar) { | ||
onlyIf { | ||
project.hasProperty('keyStore') | ||
} | ||
keyStore = project.findProperty('keyStore') | ||
alias = project.findProperty('keyStoreAlias') | ||
storePass = project.findProperty('keyStorePass') | ||
keyPass = project.findProperty('keyStoreKeyPass') | ||
inputFile = jar.archivePath | ||
outputFile = jar.archivePath | ||
} | ||
|
||
build.dependsOn signJar | ||
|
||
task deobfJar(type: Jar) { | ||
from sourceSets.main.output | ||
classifier = 'deobf' | ||
} | ||
|
||
artifacts { | ||
archives deobfJar | ||
} |
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
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,6 +1,6 @@ | ||
#Tue Jun 13 19:20:47 CST 2017 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.2.1-bin.zip | ||
#Tue Jun 13 19:20:47 CST 2017 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4.1-bin.zip |
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,11 +1,11 @@ | ||
package cofh.api; | ||
|
||
public class CoFHAPIProps { | ||
|
||
private CoFHAPIProps() { | ||
|
||
} | ||
|
||
public static final String VERSION = "1.5.0"; | ||
|
||
} | ||
package cofh.api; | ||
|
||
public class CoFHAPIProps { | ||
|
||
private CoFHAPIProps() { | ||
|
||
} | ||
|
||
public static final String VERSION = "1.5.0"; | ||
|
||
} |
Oops, something went wrong.