diff options
author | Roman Gräf <romangraef@loves.dicksinhisan.us> | 2020-08-21 19:11:42 +0200 |
---|---|---|
committer | Roman Gräf <romangraef@loves.dicksinhisan.us> | 2020-08-21 19:11:42 +0200 |
commit | 69f28613499e3ce418326d05c66e5c856acb8269 (patch) | |
tree | 01376f981dce3b44918389860b6eabed92bf9ba1 /README.md | |
download | discord-jda-jcommander-master.tar.gz discord-jda-jcommander-master.tar.bz2 discord-jda-jcommander-master.zip |
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..79aaadf --- /dev/null +++ b/README.md @@ -0,0 +1,30 @@ +## JDA Commander + +This is a proof of concept project to demonstrate using [jcommander] with [JDA] + +### Building +This project uses [Gradle] for building and dependency management. + + - You can either directly run the project using `./gradlew run`. + - You can create a zip/tar using `./gradlew distZip` or `./gradlew distTar` respectively. + - Those can be found in `build/distributions` + - Those have Windows / Linux scripts to launch the project in the bin folder + +#### Versioning / Dependencies + +This project uses [Refresh Versions] to manage dependencies. + + +Run `./gradlew refreshVersions` to check for updates. Then open `versions.properties` and bump versions where appropriate. After that reload your project and run `./gradlew refreshVersions` again to make sure there won't be any git conflicts. + +When introducing new dependencies make sure you use the `"_"` version identifier, so it will be managed by the plugin. + +### Token +Set the environment variable `DISCORD_TOKEN` to a bot token obtained from Discord's [Developer Panel][discord]. + + +[discord]: https://discord.com/developers/applications/me +[refresh versions]: https://google.com +[gradle]: https://gradle.org +[jda]: https://github.com/DV8FromTheWorld/JDA +[jcommander]: https://jcommander.org/ |