Skip to content

The Demo module

German Vekhorev edited this page May 27, 2021 · 3 revisions

Access Warden Demo

me.darksidecode.accesswarden.demo

This is not really a standalone module itself. It's just a working (copy-pasteable and runnable) example of how you can use Access Warden. Basically, it's a complete Gradle project that demonstrates some of the capabilities of Access Warden.

You can find its source code here.

Building and running

Assuming you already have Maven and Gradle installed on your device and have at least some very basic experience working with them, follow these steps to get the Demo running on your local machine within a minute:

  1. Clone the whole access-warden git repository/folder to your local device (with all modules!).
  2. Open the copied folder in your favorite IDE (e.g. IntelliJ IDEA) or cd into it, if you're using the command line.
  3. Run the Gradle build task against the access-warden-demo module (./gradlew access-warden-demo:build for command line).
  4. Wait for all the dependencies to be installed and/or updated, then for the build task to complete.
  5. Run the final JAR (java -jar access-warden-demo/build/libs/access-warden-demo-1.jar for command line) and explore the output. Go experiment with the code as well!
Clone this wiki locally