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 eclipseProject eclipseClasspath eclipseJdt
to create the Eclipse project files. - Import all projects into Eclipse.
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. - Run
gradlew eclipseProject eclipseClasspath eclipseJdt
orgradlew idea
. - [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