OpenLMIS Service Util
This library contains code that is shared between Services.
Prerequisites
- Docker 1.11+
- Docker Compose 1.6+
Quick Start
- Fork/clone this repository from GitHub.
git clone https://github.com/OpenLMIS/openlmis-service-util.git
- Assemble the outputs of project and create jar file by running
docker-compose run builder.
Including this library in a service
- Add OSS Snapshot under
repositoriessection ofbuild.gradle.
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
- Modify
dependenciesto include openlmis-service-util.
compile 'org.openlmis:openlmis-service-util:3.0.0-SNAPSHOT'
Adding shared classes
When adding utilities to this library:
- Do not use Spring dependencies
- When adding dependent libraries that may also be used in the services, be careful about their versions. Make sure there are no conflicts.
- Add only Java classes