Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.6 KB

README.md

File metadata and controls

37 lines (28 loc) · 1.6 KB

Design System Natura for Android

build release

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'
}

Getting Started

Start using our lib.

How to contribute

Help us to grow!