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
apply plugin: 'java' | |
apply plugin: 'maven' | |
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'com.github.abrarsyed.gmcp:GMCP:0.6.2' | |
} | |
} |
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
[alex@ArchKen MCore]$ gradle jar -s CLI | |
FAILURE: Build failed with an exception. | |
* What went wrong: | |
A problem occurred configuring root project 'MCore'. | |
> Failed to notify project evaluation listener. | |
> argo.saj.InvalidSyntaxException: At line 1, column 1: Expected either [ or { but got []. | |
* Try: |
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
ArrayList.metaClass.asString = { -> | |
def builder = new StringBuilder() | |
delegate.eachWithIndex { object, index -> builder.append(object) ; if (!(index==delegate.size() - 1)) builder.append(' ')} | |
return builder.toString() | |
} |
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
server { | |
host = 'irc.esper.net' | |
port = 6667 | |
nickname = 'KenBotv3' | |
} | |
bot { | |
channels = ['#KenBot', '#DirectMyFile'] | |
} |
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
package com.directmyfile.kenbot | |
import org.pircbotx.hooks.ListenerAdapter | |
import org.pircbotx.hooks.events.MessageEvent | |
class BotListener extends ListenerAdapter { | |
def prefix = '!' | |
@Override | |
def void onMessage(MessageEvent event) { | |
def msg = event.message.trim() |
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
(raring)kaendfinger@localhost:~/FlashDrive/Code/Java/MCore$ ./gradlew jar | |
:getForge UP-TO-DATE | |
:doFMLMappingPreProcess UP-TO-DATE | |
:resolveMinecraftStuff | |
:getMinecraft UP-TO-DATE | |
:doJarPreProcess UP-TO-DATE | |
:extractMisc UP-TO-DATE | |
:getAssets UP-TO-DATE | |
:unpackNatives UP-TO-DATE | |
:decompileMinecraft |
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
HEAD is now at 6397939 Merge pull request #665 from copyboy/master | |
HEAD is now at 10b16d3 Use json 2.9.1 nightly for OSX in release json like vanilla does. | |
=================================== Setup Start ================================= | |
Setting up Forge ModLoader | |
Running command: | |
['ant', 'jenkinsbuild'] | |
Traceback (most recent call last): | |
File "setup.py", line 113, in <module> | |
main() | |
File "setup.py", line 33, in main |
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
{ | |
"BuildCraft": "http://nallar.me/buildservice/job/Buildcraft/319/artifact/bin/buildcraft-universal-1.6.2-3.7.1.215.319.jar", | |
"ComputerCraft": "http://www.mediafire.com/download/cvj77lab70lvnv9/ComputerCraft1.55.zip", | |
"Forestry": "https://dl.dropboxusercontent.com/u/44760587/forestry/previews/2.2.9.9/forestry-A-2.2.9.9.jar", | |
"MystCraft": "http://binarymage.com/mystcraft/publish/mystcraft-uni-1.6.2-0.10.6.00.zip", | |
"RailsOfWar": "https://dl.dropboxusercontent.com/s/vuwkx1fsr8acnqs/RoW-1.6.2-13.07.30-0.zip", | |
"ImmibisMods": "https://gist.github.com/kaendfinger/6145247/raw/immibisInstaller.groovy" | |
} |
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
import groovy.json.JsonSlurper | |
def mcDir = new File(System.getProperty('user.home') + '/.minecraft/') | |
def modsDir = new File(mcDir, 'mods') | |
def mods = [:] | |
def modsToDownload = args.toList() | |
def download = { String address, String path -> | |
def file = new FileOutputStream(path) | |
def out = new BufferedOutputStream(file) |
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
println 'Test Succeeded' |