Skip to content

hmcts/probate-commons

Repository files navigation

Probate Commons

This is a library for creating and using shared DTOs across microservices in probate.

Getting started

Prerequisites

Usage

Just include the library as your dependency and you will be to use the DTO classes.

Building

The project uses Gradle as a build tool but you don't have install it locally since there is a ./gradlew wrapper script.

To build project please execute the following command:

    ./gradlew clean build

Developing

Coding style tests

To run all checks (including unit tests) please execute the following command:

    ./gradlew check

To push the changes to your local repository execute the following command.

    ./gradlew publishToMavenLocal

Releasing

Releases are created on github and are available on jitpack.

To check on the build log on the version: https://jitpack.io/com/github/hmcts/probate-commons/{version}/build.log

License

This project is licensed under the MIT License - see the LICENSE file for details.