From e2a58f098424c30b79b076d6eab4299ca5ae1b0e Mon Sep 17 00:00:00 2001 From: Alfredo Beaumont Date: Thu, 5 Oct 2017 10:22:41 +0200 Subject: [PATCH 1/2] enry-java: Add instructions to include enry-java as a dependency. Signed-off-by: Alfredo Beaumont --- java/README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/java/README.md b/java/README.md index 520e98a..0ebd366 100644 --- a/java/README.md +++ b/java/README.md @@ -1,5 +1,30 @@ # enry-java +## Usage + +`enry-java` package is available thorugh [maven central](http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22enry-java%22), +so it be used easily added as a dependency in various package management systems. +Examples of how to handle it for most commons systems are included below, +for other systems just look at maven central's dependency information. + +### Apache Maven + +```xml + + tech.sourced + enry-java + 1.0.0 + +``` + +### Scala SBT + +```scala +libraryDependencies += "tech.sourced" % "enry-java" % "1.0.0" +``` + +## Build + ### Requirements * `sbt` From f710460ae4e5bc03e64e60c60eccb6c159f8e256 Mon Sep 17 00:00:00 2001 From: Alfredo Beaumont Date: Thu, 5 Oct 2017 15:37:09 +0200 Subject: [PATCH 2/2] docs: Replace enry-java version literal by a variable. Signed-off-by: Alfredo Beaumont --- java/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/README.md b/java/README.md index 0ebd366..1e39dbd 100644 --- a/java/README.md +++ b/java/README.md @@ -13,14 +13,14 @@ for other systems just look at maven central's dependency information. tech.sourced enry-java - 1.0.0 + ${enry_version} ``` ### Scala SBT ```scala -libraryDependencies += "tech.sourced" % "enry-java" % "1.0.0" +libraryDependencies += "tech.sourced" % "enry-java" % enryVersion ``` ## Build