From 4d1efd597452b663bd00b0c7f62d710ad187f6d3 Mon Sep 17 00:00:00 2001 From: CsAlam Date: Fri, 14 May 2021 00:58:37 +0545 Subject: [PATCH 1/3] compile is replaced by implementation Since, compile time dependencies is superseded by implementation . The compile dependency configuration has been removed in the recently released Gradle 7.0, and is deprecated in earlier versions. Fortunately, the implementation dependency configuration provides the same functionality as compile. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 029d50e..5561c6b 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ The library is a DrawerLayout-like ViewGroup, where a "drawer" is hidden under t ## Gradle Add this into your dependencies block. ``` -compile 'com.yarolegovich:sliding-root-nav:1.1.1' +implementation 'com.yarolegovich:sliding-root-nav:1.1.1' ``` ## Sample Please see the [sample app](sample/src/main/java/com/yarolegovich/slidingrootnav/sample) for a library usage example. From 3229e92b268862565164589da51a765be47353ba Mon Sep 17 00:00:00 2001 From: CsAlam Date: Fri, 14 May 2021 01:21:30 +0545 Subject: [PATCH 2/3] update installation guide --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5561c6b..6b35d72 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,12 @@ The library is a DrawerLayout-like ViewGroup, where a "drawer" is hidden under t ![GifSample](art/sample.gif) -## Gradle -Add this into your dependencies block. +## Installation +Gradle is the only supported build configuration, so just add the dependency to your project ``Build.gradle`` file ``` -implementation 'com.yarolegovich:sliding-root-nav:1.1.1' +dependencies { + implementation 'com.yarolegovich:sliding-root-nav:1.1.1' +} ``` ## Sample Please see the [sample app](sample/src/main/java/com/yarolegovich/slidingrootnav/sample) for a library usage example. From b2f1384639b26bf2c7884d10ca89995840986eda Mon Sep 17 00:00:00 2001 From: CsAlam Date: Fri, 14 May 2021 01:24:29 +0545 Subject: [PATCH 3/3] updated dependency installation highlighted dependency for much better view --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6b35d72..2ffdd7f 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ The library is a DrawerLayout-like ViewGroup, where a "drawer" is hidden under t ## Installation Gradle is the only supported build configuration, so just add the dependency to your project ``Build.gradle`` file -``` +```java dependencies { implementation 'com.yarolegovich:sliding-root-nav:1.1.1' }