From c88d21a24b0d70a91eaf56aff8500ca03a72989a Mon Sep 17 00:00:00 2001 From: Nikita Date: Wed, 24 Jan 2024 17:06:03 +0300 Subject: [PATCH] TECH: Add a snapshot documentation (#623) --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7152ac173..630db4af2 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,15 @@ dependencies { } ``` -To try out the cutting edge kaspresso updates before an official release add a "-SNAPHOT" postfix to the latest Kaspresso version e.g. +To try out the cutting edge kaspresso updates before an official release add a snapshot repository to your `build.gradle` +```groovy +dependencyResolutionManagement { + repositories { + maven { url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots") } + } +} +``` +To use a snapshot version of a Kaspresso add a "-SNAPHOT" postfix to the latest Kaspresso version e.g. ```groovy dependencies { androidTestImplementation 'com.kaspersky.android-components:kaspresso:-SNAPSHOT'