Posted April 13, 201411 yr Hello, how can I add Libraries in 1.7? In 1.6.4 we had a folder (/libs/) for that. Is that folder still existing or do we have to handle it manually, because I would like to install ForgeMultipart. Thank you for any Help - Busti PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.
April 14, 201411 yr I'm assuming you mean on compile. You have two options really. One is to have it download the library from a repository, which requires editing your build.gradle like so: repositories { ivy { name 'NameForYourLibrarysRepository' artifactPattern "http://www.someurl.com/lib/[module][revision].[ext]" } } // name corresponds to module, version corresponds to revision, and ext...that's self explanatory dependencies { compile name: 'YourLibrary', version: 'LibraryVersion1.0', ext: 'jar' } Or the easier way would be just to make a folder called libs where your build.gradle is and drop all your libraries in there. =P
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.