Design System Natura for Android
What for
Library with Android components defined by Natura Group Design System Team.
How to use
How to add dependency
Copy and paste the file github_credentials.properties.sample and rename it to github_credentials.properties. Updating the fields github.username and github.password. For getting your GitHub password see the Tutorial. Its important to check read:packages when generating you password. In the file build.gradle, insert the informations:
repositories {
maven {
name = "natds-android"
url = uri("https://maven.pkg.github.com/natura-cosmeticos/natds-android")
credentials {
username = githubProperties['github.username'] ?: System.getenv("GITHUB_USERNAME")
password = githubProperties['github.password'] ?: System.getenv("GITHUB_API_KEY")
}
}
}
And:
dependencies {
implementation "com.natura.android:designsystem:<version>"
implementation 'com.google.android.material:material:1.1.0'
}