diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2019-12-02 10:03:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-02 10:03:51 +0100 |
commit | 428fbc2d6b4e5d1bffcbb9a92ce1760e56363a55 (patch) | |
tree | 075e8bf7b9b9a6910adcc9f5c18b000919e18bf9 /README.md | |
parent | 67634ece1a119d0ac05e259ab94cd03c805cda87 (diff) | |
parent | 59cd5fadf23b7036e0897f6e575ac0e9cd2fe279 (diff) | |
download | gdx-boardgame-428fbc2d6b4e5d1bffcbb9a92ce1760e56363a55.zip gdx-boardgame-428fbc2d6b4e5d1bffcbb9a92ce1760e56363a55.tar.gz |
Merge pull request #2 from SimonIT/gwt-compatibility
remove string format, it's not available on gwt
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 31 |
1 files changed, 31 insertions, 0 deletions
@@ -12,3 +12,34 @@ 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'/> +``` + +## javadoc + +[Latest](https://javadoc.jitpack.io/com/github/jeremyz/gdx-boardgame/master-SNAPSHOT/javadoc/) |