Skip to content

Instantly share code, notes, and snippets.

@TehNut
Created April 8, 2015 18:22
Show Gist options
  • Save TehNut/f2714af39a72adfae6d3 to your computer and use it in GitHub Desktop.
Save TehNut/f2714af39a72adfae6d3 to your computer and use it in GitHub Desktop.
Curse as Maven
repositories {
maven {
name = "CurseForge"
url = "https://minecraft.curseforge.com/api/" + project.curseforge_key
}
}
^^^ THIS DOES NOT GO IN BUILDSCRIPT, IT GOES ABOVE apply plugin: 'forge' ^^^
Then add this to dependencies
compile 'cofhcore:CoFHCore-[1.7.10]3.0.0B9:latest:dev'
@Keridos
Copy link

Keridos commented May 25, 2015

This does not seem to work anymore for me!

@xXGandalfXx
Copy link

What is the curseforge_key?

@tterrag1098
Copy link

@xXGandalfXx it's a property you define in a gradle.properties. Probably in a global one so that it doesn't get pushed to your repo.

@Keridos
Copy link

Keridos commented Sep 20, 2015

@tterrag1098 @TehNut Does one of you have an update for this? I cannot get this to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment