From c1164b18235c280362ec787391c5320cc9acc2f2 Mon Sep 17 00:00:00 2001 From: Marcella <34659204+mlcsouza@users.noreply.github.com> Date: Mon, 7 Dec 2020 11:06:07 -0300 Subject: [PATCH] =?UTF-8?q?docs:=20=E2=9C=8F=EF=B8=8F=20[DSY-000]=20Adding?= =?UTF-8?q?=20infos=20about=20Nat=20DS=20Icons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/README.md b/README.md index 6e5d2ed16..cfcc6b81b 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,38 @@ And: implementation 'com.google.android.material:material:1.1.0' } + +#### Nat DS Icons +Since 4.0.0 Nat DS Android has no longer Nat DS Icons. In order to use Nat DS Icons, you MUST add a new dependency: + repositories { + + def githubProperties = new Properties() + def githubFile = rootProject.file("github_credentials.properties") + if (githubFile.exists()) { + githubProperties.load(new FileInputStream(githubFile)) + } + + //To Access Nat DS Icons dependency at Github Packages + maven { + name = "natds-commons" + url = uri("https://maven.pkg.github.com/natura-cosmeticos/natds-commons") + credentials { + username = githubProperties['github.username'] ?: System.getenv("GITHUB_USERNAME") + password = githubProperties['github.password'] ?: System.getenv("GITHUB_API_KEY") + } + } + + } + +And: + + dependencies { + implementation "com.natura:icons:$rootProject." + + } + +You can use Nat DS Icons without using Nat DS Android + ### Getting Started [Start using our lib](doc/getting-started.md).