Skip to content

Gradle packages publishing#8

Open
drazenko-topalovic wants to merge 1 commit intomainfrom
gradle_packages_module
Open

Gradle packages publishing#8
drazenko-topalovic wants to merge 1 commit intomainfrom
gradle_packages_module

Conversation

@drazenko-topalovic
Copy link
Contributor

@drazenko-topalovic drazenko-topalovic commented May 5, 2021

In order to work add these lines into local.properties file:

GITHUB_USER=<github_username>
GITHUB_PERSONAL_ACCESS_TOKEN=<personal_access_token>

To create personal_access_token do:
Login to your Github account -> Settings -> Developer options -> Personal Access token -> Create new token.
Important - for token permissions add: repo, write/read packages, delete

Usage:
project - build.gradle

maven {
            url = uri("https://maven.pkg.github.com/computerrock/gms-hms-wrapper")
            credentials {
                username = 'GITHUB_USERNAME'
                password = 'GITHUB_PERSONAL_ACCESS_TOKEN'
            }
        }

app - build gradle

implementation 'com.computerrock:analytics-gms:1.0.0'
implementation 'com.computerrock:analytics-hms:1.0.0'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments