Skip to content

Downloading the github package

husnjak edited this page Oct 19, 2022 · 3 revisions

Github packages

The package that is pushed to the Github Maven repository can be downloaded via Gradle.
It requires a login that consists of you username and a personal access token with the read:packages scope.

repositories {
    mavenCentral()
    maven {
        name = "GithubPackages"
        url = uri("https://maven.pkg.github.com/husnjak/IGDB-API-JVM")
        credentials {
            username = "GITHUB_USERNAME"
            password = "GITHUB_PERSONAL_TOKEN" // packages:read

        }
    }
}

dependencies {
    implementation("io.github.husnjak:igdb-api-jvm:<version>")
}
Clone this wiki locally