-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from Prospector/1.14
1.14
- Loading branch information
Showing
39 changed files
with
529 additions
and
559 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,69 +1,40 @@ | ||
import net.fabricmc.loom.LoomGradlePlugin | ||
|
||
buildscript { | ||
repositories { | ||
jcenter() | ||
maven { | ||
name = "forge" | ||
url = "http://files.minecraftforge.net/maven" | ||
} | ||
} | ||
dependencies { | ||
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT' | ||
} | ||
repositories { | ||
jcenter() | ||
maven { | ||
name = 'Fabric' | ||
url = 'http://maven.modmuss50.me/' | ||
} | ||
} | ||
dependencies { | ||
classpath "net.fabricmc:fabric-loom:0.1.0-SNAPSHOT" | ||
} | ||
} | ||
apply plugin: 'net.minecraftforge.gradle.forge' | ||
|
||
version = "1.12-1.11" | ||
group= "com.reddit.user.koppeh.flamingo" // http://maven.apache.org/guides/mini/guide-naming-conventions.html | ||
archivesBaseName = "Flamingo" | ||
|
||
minecraft { | ||
version = '1.12-14.21.1.2395' | ||
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 allways work. | ||
// simply re-run your setup task after changing the mappings to update your workspace. | ||
mappings = 'snapshot_20170717' | ||
plugins { | ||
id 'java' | ||
id 'eclipse' | ||
id 'idea' | ||
} | ||
|
||
processResources | ||
{ | ||
// this will ensure that this task is redone when the versions change. | ||
inputs.property "version", project.version | ||
inputs.property "mcversion", project.minecraft.version | ||
apply plugin: LoomGradlePlugin | ||
|
||
// 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, thats not the mcmod.info | ||
from(sourceSets.main.resources.srcDirs) { | ||
exclude 'mcmod.info' | ||
} | ||
} | ||
|
||
//For Building | ||
sourceCompatibility = 1.8 | ||
targetCompatibility = 1.8 | ||
|
||
def libDir = './build/libs' | ||
|
||
task deobfJar(type: Jar) { | ||
description = 'Creates a jar file containing the non-obfuscated class files' | ||
classifier = 'deobf' | ||
destinationDir = file(libDir) | ||
from sourceSets.main.output.classesDir | ||
from sourceSets.main.output.resourcesDir | ||
} | ||
group = "com.reddit.user.koppeh.flamingo" | ||
archivesBaseName = "Flamingo" | ||
version = "1.14-1.12" | ||
|
||
task makeJars << { | ||
description = 'Creates the mod files' | ||
minecraft { | ||
} | ||
|
||
makeJars.dependsOn clean, build, deobfJar | ||
build.shouldRunAfter clean | ||
deobfJar.shouldRunAfter build | ||
dependencies { | ||
minecraft "com.mojang:minecraft:18w50a" | ||
mappings "net.fabricmc:yarn:18w50a.38" | ||
modCompile "net.fabricmc:fabric-loader:0.2.0.70" | ||
modCompile "net.fabricmc:fabric:0.1.1.58" | ||
} |
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,6 +1,6 @@ | ||
#Wed Jul 02 15:54:47 CDT 2014 | ||
#Sun Nov 11 14:39:10 PST 2018 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.3-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.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
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
105 changes: 0 additions & 105 deletions
105
src/main/java/com/reddit/user/koppeh/flamingo/BlockFlamingo.java
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
src/main/java/com/reddit/user/koppeh/flamingo/ClientProxy.java
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
src/main/java/com/reddit/user/koppeh/flamingo/CommonProxy.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.