-
Notifications
You must be signed in to change notification settings - Fork 3
Getting Started
Christopher O'Brien edited this page Jul 1, 2021
·
1 revision
Add the Github Package repository to your top-level build.gradle
, along with a Github username and access token (no permissions required).
repositories {
maven {
url = "https://maven.pkg.github.com/hmrc/android-components"
credentials {
username = System.getenv("GITHUB_USER_NAME")
password = System.getenv("GITHUB_TOKEN")
}
}
}
Then add the following to your list of dependencies:
implementation 'uk.gov.hmrc.components:components:{version}'
androidTestImplementation 'uk.gov.hmrc.components:components-test:{version}'
The latest release can be found here.