To add the dependency in your project:
-
Obtain a new Github Classic PAT and grant it the following permissions:
repo,read:packages,read:org -
In your
settings.gradle.kts, add the following inside yourdependencyResolutionManagementblock and place your PAT under thepassword:
dependencyResolutionManagement {
repositories {
...
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/lessthan3/MaestroKit.android")
credentials {
username = "username" // <-- does not matter, as only PAT is used for authentication, but please provide a non-empty string
password = "github_token" // <-- use your generated Github PAT
}
}
}
}
- Now in your
build.gradle.kts, refer to the dependency (please use the latest version):
dependencies {
...
implementation("com.lessthan3:maestropanel:2.0.7")
}