From 9b4c0af1b7c0b8b39ea5a62f09505705dd8ce115 Mon Sep 17 00:00:00 2001 From: Ally Jarrett Date: Mon, 1 Aug 2022 14:14:00 +0100 Subject: [PATCH] documentation: added gradle documentation (#82) Co-authored-by: ally-jarrett --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README.md b/README.md index 23e02eeb..979be5a5 100644 --- a/README.md +++ b/README.md @@ -311,6 +311,31 @@ and **Ready to learn more?** Check out the [getting started](docs/getting_started.md) guide. +## 🐘 Gradle configuration + +### Add Repository - Snapshots Only + +```groovy +repositories { + mavenCentral() + maven { + url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' + } +} +``` + +### Dependency +```groovy +ext { + redisOmVersion = '0.5.2-SNAPSHOT' +} + +dependencies { + implementation: "com.redis.om:redis-om-spring:$redisOmVersion" + } +} +``` + ## 📚 Documentation The Redis OM documentation is available [here](docs/index.md).