Skip to content
This repository has been archived by the owner on Feb 8, 2021. It is now read-only.

Commit

Permalink
moving to gradle - part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
jimnordb committed Apr 25, 2014
1 parent 2dad88d commit f0e07fb
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 25 deletions.
17 changes: 2 additions & 15 deletions README.md
@@ -1,4 +1,4 @@
[![image](resources/recipear.png)](http://www.minecraftforum.net/topic/1621605-) [![image](recipear.png)](http://www.minecraftforum.net/topic/1621605-)
========== ==========
Recipear's goal is to be able to remove every recipe in the game including from most of the forge mods Recipear's goal is to be able to remove every recipe in the game including from most of the forge mods


Expand Down Expand Up @@ -46,17 +46,4 @@ Disables "Light Blue Wool" from being Crafted


##Compile & Build ##Compile & Build


if you like to do this by hand you can seek out these options http://www.minecraftforge.net/forum/index.php?topic=14048.0

Option 1 (Eclipse with ant, Assuming you have Forge workspace)
- Create a new Project in forge workspace called "Recipear"
- Add Required Project "Minecraft" in Project Properties
- Drag & drop build.xml into "Recipear"
- Drag & drop everything from src into "Recipear"
- Add Referenced library for Google Guava (Minecraft/jar/libraries/com/google/guava/guava/14.0/guava-14.0.jar)
- Add Referenced Library for deobfuscated(deobf) IndustrialCraft2 which should be downloaded manually at http://ic2api.player.to:8080/job/IC2_experimental/
- Adjust Run properties to include Recipear in it's classpath
- Enjoy!

Option 2 (Manual)
- Run [Apache Ant](http://ant.apache.org/bindownload.cgi) in the repository root: `ant package`
14 changes: 8 additions & 6 deletions build.gradle
Expand Up @@ -13,24 +13,26 @@ buildscript {


apply plugin: 'forge' apply plugin: 'forge'


version = "2.3" version = "2.3.0"
group= "mods.recipear" group= "mods.recipear"
archivesBaseName = "Recipear2" description = "Remove recipes ingame"

dependencies { dependencies {
compile fileTree(dir:'deps',include:'*.jar') compile fileTree(dir:'deps',include:'*.jar')
} }


minecraft { minecraft {
version = "1.6.4-9.11.1.964" version = "1.6.4-9.11.1.964"
} }


archivesBaseName = "Recipear2-" + project.minecraft.version

processResources processResources
{ {
// replace stuff in mcmod.info, nothing else // replace stuff in mcmod.info, nothing else
from(sourceSets.main.resources.srcDirs) { from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info'

// replace version and mcversion // replace version and mcversion
include 'mcmod.info'
expand 'version':project.version, 'mcversion':project.minecraft.version expand 'version':project.version, 'mcversion':project.minecraft.version
} }


Expand Down
8 changes: 4 additions & 4 deletions src/main/resources/mcmod.info
Expand Up @@ -3,8 +3,8 @@
"modid": "Recipear2", "modid": "Recipear2",
"name": "Recipear2", "name": "Recipear2",
"description": "Removes Recipes", "description": "Removes Recipes",
"version": "@version@", "version": "${version}",
"mcversion": "@mcversion@", "mcversion": "${mcversion}",
"url": "http://www.silentspy.net/recipear", "url": "http://www.silentspy.net/recipear",
"updateUrl": "", "updateUrl": "",
"authors": ["Silentspy"], "authors": ["Silentspy"],
Expand All @@ -18,8 +18,8 @@
"modid": "Recipear2|IC2", "modid": "Recipear2|IC2",
"name": "IC2", "name": "IC2",
"description": "Recipear IC2 Module", "description": "Recipear IC2 Module",
"version": "@version@", "version": "${version}",
"mcversion": "@mcversion@", "mcversion": "${mcversion}",
"url": "http://www.silentspy.net/recipear", "url": "http://www.silentspy.net/recipear",
"updateUrl": "", "updateUrl": "",
"authors": ["Silentspy"], "authors": ["Silentspy"],
Expand Down
Binary file removed src/main/resources/recipear.png
Binary file not shown.

0 comments on commit f0e07fb

Please sign in to comment.