Skip to content

Instantly share code, notes, and snippets.

View shadowfacts's full-sized avatar
🖕
stop turning github into a social network, micro$oft

Shadowfacts shadowfacts

🖕
stop turning github into a social network, micro$oft
View GitHub Profile
minecraft {
srgExtra "PK: com/typesafe/config my/mod/package/repackage/com/typesafe/config"
}
configurations {
external
compile.extendsFrom external
}
dependencies {
@shadowfacts
shadowfacts / .gitignore
Created April 25, 2015 01:56
Objective-C .gitignore
# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
@matthewprenger
matthewprenger / changelog-auth.gradle
Last active July 5, 2016 11:12
Jenkins Gradle Changelog Init Script, place this in ~/.gradle/init.d/changelog.gradle on your Jenkins server. Projects can simply call 'project.changelog' to get the changes for the current build.
def buildUrl = System.getenv().BUILD_URL
if (buildUrl != null) {
def auth = "<USER>:<APITOKEN>".getBytes().encodeBase64().toString()
def url = new URL("$buildUrl/api/xml?depth=20").openConnection()
url.setRequestProperty("Authorization", "Basic " + auth)
String data = url.getInputStream().text
def changelog = ""
@matthewprenger
matthewprenger / build.gradle
Last active June 18, 2022 18:01
CoFH CurseForge Dependencies
// The URL for each mod often changes based on the version you want.
// To find the correct URL, download the (DEOBFUSCATED!) mod from CurseForge,
// and look in your browser's download history to find the URL it came from.
// Use the numbers from that in place of the ones below
repositories {
ivy {
name "CoFHLib"
artifactPattern "http://addons-origin.cursecdn.com/files/2229/525/[module]-[revision].[ext]"
}