CCD Annotations API
Dependencies
- CCD DB v0.6.3
- CCD OAuth2 v1.3.4
All commands shown use the included Gradle wrapper executable. If you want to run a command with your system's Gradle installation, replace ./gradlew
with gradle
. This option requires Gradle version 3.1 or greater.
If you are using Windows, there is a Gradle batch script included (gradlew.bat). You may also use your system's Gradle installation following the requirement(s) as stated above.
Build
To build CCD Annotations: ./gradlew clean build
.
To update documentation: ./gradlew asciidoctor
.
Install
To install CCD Annotations to your your local maven repository: ./gradlew install
You may edit the application.properties
file in src/main/resources/
to change the server settings and select a database (HSQLDB or MySQL). Additionally, edit the appropriate properties file to change database settings.
To start the server with documentation, ./gradlew start
. This is a custom command that is identical to the following: ./gradlew build asciidoctor; java -jar build/libs/ccd-annotations-0.8.0.jar
.
To view a list of all available Gradle tasks with descriptions: ./gradlew tasks
.