From 4c623c4113d40f779e74b3db8cc5286209ba1d29 Mon Sep 17 00:00:00 2001 From: msafonov Date: Sun, 1 Sep 2019 20:03:37 +0300 Subject: [PATCH] docs: README updated --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 04a3f5a..f459d5f 100644 --- a/README.md +++ b/README.md @@ -18,9 +18,16 @@ This is a starter for spring boot application witch catch alerts from [Prometheus Alertmanager](https://prometheus.io/docs/alerting/alertmanager/). -The starter is available at: `...` +The starter is available at `https://repo1.maven.org/maven2/` repository. -Using gradle: `...` +Using gradle: + + repositories { + maven {url "https://repo1.maven.org/maven2/"} + } + dependencies { + implementation 'com.github.mikesafonov:spring-boot-starter-prometheus-alerts:1.0.0' + } The only thing you need to do after adding the dependency is to create a bean with implementation of `NotificationService` interface: @@ -43,7 +50,7 @@ The following properties can be configured: You can build application using following command: - ./gradlew clean build + ./gradlew clean build -x signArchives #### Requirements: