Gradle will set itself up during the first build on any system. It requires an active internet connection to do so.
- Run
gradlew idea
to create the IDEA project files. - Import the project into IDEA.
- (If necessary,) open the 'Project Structure' Dialog (Ctrl+Alt+Shift+S) and set the Project SDK to a SDK > 6.0.
- Run
gradlew eclipse
to create the Eclipse project files. - Import all projects into Eclipse.
- Have the Gradle Support plugin installed.
- Optional: Configure your global preferences.
- Open the project as you would open any other project in NetBeans.
Launch net.sf.anathema.AnathemaBootLoader
Run gradlew run
Run gradlew test
- Add the dependency entry to the module's
build.gradle
. - Run
gradlew eclipseClasspath
orgradlew ideaModule
respectively.
IntelliJ IDEA users best run this outside of the IDE, else it might not pick up all changes.
- Run
gradlew createModule -PmoduleName=MODULENAME
- In
settings.gradle
, add your module name. - Regenerate your IDE's workspace as per the "Developing with..." sections above.
- [Eclipse Only] import the project.
These commands just build the distribution artifacts. For the full process, see the wiki.
This works on any OS. It creates a zip file containing a multi-platform executable anathema.jar and a Windows anathema.exe launcher.
Run gradlew releaseZip
This works on any OS. It creates a Windows installer.
Run gradlew releaseWin
This works on any OS. It creates a zip file containing a Mac application bundle.
Run gradlew releaseMac
Builds the Zip, Windows, and Mac distributions
Run gradlew release