diff options
author | SimonIT <simonit.orig@gmail.com> | 2019-12-01 12:37:15 +0100 |
---|---|---|
committer | SimonIT <simonit.orig@gmail.com> | 2019-12-01 12:37:15 +0100 |
commit | 47f52b84fad37e3b02241364291944da33e10e7a (patch) | |
tree | bb936701f97fd963a5131a3cf0138b2da7246b26 /README.md | |
parent | 9900cd77491a40158dcefbf0da1e6c29cfd4eb45 (diff) | |
download | gdx-boardgame-47f52b84fad37e3b02241364291944da33e10e7a.zip gdx-boardgame-47f52b84fad37e3b02241364291944da33e10e7a.tar.gz |
Some install instructions
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -12,3 +12,30 @@ code is mainly extracted from https://github.com/jeremyz/rustanddust - various animations - path, movement, line of sight computation +## install + +Add the repository: +```groovy + allprojects { + repositories { + maven { url 'https://jitpack.io' } + } + } +``` +Add the dependency to all subprojects: (You can replace `master-SNAPSHOT` with a tag from github) +```groovy + dependencies { + implementation 'com.github.jeremyz:gdx-boardgame:master-SNAPSHOT' + } +``` +If you use the html module, you have to add also this module to its dependencies: +```groovy + dependencies { + implementation 'com.github.jeremyz:gdx-boardgame:master-SNAPSHOT:sources' + } +``` + +For the html build, you have to add this line to your *.gwt.xml files in the html project: +```xml +<inherits name='ch.asynk.gdx.boardgame'/> +``` |