Posted May 14, 201411 yr Heyho guys! I created a folder on my computer which includes several utility classes for modding (eg. Renderer templates etc.). I imported them into eclipse and added them to the classpath. Everything worked well till now. I tried to compile the mod with gradle. The build didn't result in an error but the .jar file is only 300kb. This is MUCH too small even for a small mod. Forge doesn't recognize the file as a mod. What can I do to make gradle compiling both my mod andbthe external source into one .jar file? Ps: I'm using Forge for 1.7.2, build 1060. http://i.imgur.com/wNvtGZw.png[/img] MODS and MODDING TUTORIALS
May 15, 201411 yr Author I checked the file: it only contains the META-INF folder. What is wrong with this? http://i.imgur.com/wNvtGZw.png[/img] MODS and MODDING TUTORIALS
May 15, 201411 yr Author Solved it! I just added the bold part to the build.gradle file: sourceSets { main { java { srcDirs = ["$projectDir/src", [b]"C:/Modding/_Utility and basics/Basics and Utility/Utility"[/b]] } resources { srcDirs = ["$projectDir/src"] } } } http://i.imgur.com/wNvtGZw.png[/img] MODS and MODDING TUTORIALS
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.