You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jtljac edited this page Feb 10, 2020
·
4 revisions
To easily add Dat Modding API to your project, you can use two methods:
Method One
You can download the latest release, stick that in a directory in your project (E.G. "{Project}/libs"), then in your build.gradle tell it to compile the files in that directory by adding the following into the dependencies section of the build.gradle (replace 'libs' with whatever subdirectory you put the jar in):
compile fileTree(dir: 'libs', include: ['*.jar'])
Method Two
You can add the curse maven repository to your project, and fetch Dat Modding API from there
Add the following to your build.gradle somewhere above apply plugin: 'forge'