Files
Mindustry/README.md

46 lines
1.9 KiB
Markdown
Raw Normal View History

2017-12-09 17:58:34 -05:00
![Imgur](https://i.imgur.com/w4N0yhv.png)
2018-09-25 23:31:45 -04:00
[![Build Status](https://travis-ci.org/Anuken/Mindustry.svg?branch=master)](https://travis-ci.org/Anuken/Mindustry)
2018-10-06 11:56:39 -04:00
[![Discord](https://img.shields.io/discord/391020510269669376.svg)](https://discord.gg/mindustry)
2018-09-25 23:31:45 -04:00
2019-01-13 20:10:43 -05:00
A sandbox tower defense game written in Java.
2017-12-09 17:58:34 -05:00
2018-03-05 17:00:02 -05:00
_[Trello Board](https://trello.com/b/aE2tcUwF/mindustry-40-plans)_
2018-12-23 17:11:19 -05:00
_[Wiki](http://mindustry.wikia.com/wiki/Mindustry_Wiki)_
2017-12-09 17:58:34 -05:00
### Building
2018-10-18 23:00:18 -04:00
Bleeding-edge live builds are generated automatically for every commit. You can see them [here](https://jenkins.hellomouse.net/job/mindustry/).
2017-12-21 15:43:30 -05:00
If you'd rather compile on your own, follow these instructions.
2019-02-09 12:38:30 +04:00
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:
2017-12-09 17:58:34 -05:00
#### Windows
2017-12-09 18:09:34 -05:00
_Running:_ `gradlew desktop:run`
_Building:_ `gradlew desktop:dist`
2017-12-09 17:58:34 -05:00
2019-02-09 12:38:30 +04:00
#### Linux/Mac OS
2017-12-09 18:06:09 -05:00
2017-12-29 16:31:19 -05:00
_Running:_ `./gradlew desktop:run`
2017-12-09 18:06:09 -05:00
_Building:_ `./gradlew desktop:dist`
2019-02-21 19:12:07 -05:00
#### Server
2019-02-21 19:12:07 -05:00
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
2019-03-12 16:37:32 -04:00
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.*
2017-12-09 18:09:34 -05:00
---
2017-12-09 18:06:09 -05:00
Gradle may take up to several minutes to download files. Be patient. <br>
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.
2017-12-09 17:58:34 -05:00
### Downloads
<a href="https://anuke.itch.io/mindustry"><img src="https://i.imgur.com/sk26hTV.png" width="auto" height="75"></a>
<a href="https://play.google.com/store/apps/details?id=io.anuke.mindustry&hl=en"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Get_it_on_Google_play.svg/1280px-Get_it_on_Google_play.svg.png" width="auto" height="75"></a>