android | ||
annotations | ||
core | ||
desktop | ||
desktop-sdl | ||
gradle/wrapper | ||
ios | ||
net | ||
server | ||
tests | ||
tools | ||
.gitignore | ||
.travis.yml | ||
build.gradle | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
LICENSE | ||
README.md | ||
run-server | ||
settings.gradle | ||
TRANSLATING.md | ||
update_wiki.sh |
A sandbox tower defense game written in Java.
Building
Bleeding-edge live builds are generated automatically for every commit. You can see them here.
If you'd rather compile on your own, follow these instructions.
First, make sure you have Java 8 and JDK 8 installed. Open a terminal in the root directory, cd
to the Mindustry folder and run the following commands:
Windows
Running: gradlew desktop:run
Building: gradlew desktop:dist
Linux/Mac OS
Running: ./gradlew desktop:run
Building: ./gradlew desktop:dist
Server
Server builds are bundled with each released build (in Releases). If you'd rather compile on your own, replace 'desktop' with 'server', e.g. gradlew server:dist
.
Troubleshooting
If the terminal returns Permission denied
or Command not found
on Mac/Linux, run chmod +x ./gradlew
before running ./gradlew
. This is a one-time procedure.
Gradle may take up to several minutes to download files. Be patient.
After building, the output .JAR file should be in /desktop/build/libs/desktop-release.jar
for desktop builds, and in /server/build/libs/server-release.jar
for server builds.