Posted December 26, 201410 yr Hi, I've learned a mod isn't supposed to ship the API in its jar file (which of course makes sense). My problem is that by default (unless I missed something), the build.gradle takes everything in src/ How should I configure the build to exclude the api files from the jar? Thanks a lot for your help.
December 26, 201410 yr Author Well in my case they are in the jar. Doesn't this line tell Gradle to take everything in src/ http://s1.postimg.org/5dusjjl2n/1_src.png[/img] This is the content of my Jar, in my case the cofh api is there. http://s1.postimg.org/gepxokdbj/2_jar.png[/img] And here is the structure of my mod, exactly like you said: Thanks again.
December 27, 201410 yr Author Of course a little gradle clean solved it all. It was probably some leftovers from my different attempts. No more APIs in my jar \o/ Thanks again for taking the time to help me
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.