Baubles - LenaTevar/HomeoCraft GitHub Wiki

Trying to summarise this post in forge

Baubles is an independent mod and its api is just something you can access. Since there does not seem to be a maven repository for baubles, just put the jar in a new libs/ folder in your project root and run gradle --refresh-dependencies. It should become available as a library in your working environment.

So, gathering this all into one post, I put deobfCompile "com.github.azanor:Baubles:${baubles_version}" and maven { url 'https://jitpack.io' } in their respective sections of my build.gradle, make a gradle.properties file, and place baubles_version=7035b13 (which is still the latest commit) in it.

You probably need to refresh your IDE project. I think the way to do this for Eclipse is by re-running the eclipse Gradle task.

What I did

I wrote down this piece of code, half from Botania, half from the Forge forum because using the forum thing, doesn't work out. I'm not even sure if both repositories are needed or they are something that botania needs. I will try with my other mod with only "thiakil" repository and if it works, I will change this part.

repositories { mavenCentral() maven { name = "thiakil" url = "http://maven.thiakil.com" } maven { url "http://dvs1.progwml6.com/files/maven" } }

dependencies { deobfCompile "com.azanor.baubles:Baubles:1.12-1.5.2" }

After adding this, I ran \gradle decomSetupWorkspace eclipse and there you have!

But Lena, my eclipse is crying rivers! It says some shit about nesting folders!!! Ok, select all the src folders that suddenly appear in your project. Right click. Build Path. Delete from Build Path. F5. Some people want to change the POM because it has something to do with the sourcedirectory, but just deleting from build path worked for me.