Skip to content

Commit

Permalink
docs: ✏️ [DSY-000] Adding infos about Nat DS Icons
Browse files Browse the repository at this point in the history
  • Loading branch information
mlcsouza authored Dec 7, 2020
1 parent 0b3bcad commit c1164b1
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.<version>"

}

You can use Nat DS Icons without using Nat DS Android

### Getting Started
[Start using our lib](doc/getting-started.md).

Expand Down

0 comments on commit c1164b1

Please sign in to comment.