Skip to main content

Requirements

GitLab package registry

Gradle (Groovy DSL)

Maven

Transitive dependencies

The SDK pulls in the following at runtime. You do not need to declare them manually.

Deploy token

Generate a deploy token in your GitLab project under Settings > Repository > Deploy tokens. Grant the read_package_registry scope. Store the token in CI/CD as a masked variable (NEXUS_DEPLOY_TOKEN).

Verifying connectivity

Before writing any code, confirm your endpoint and API key work with a plain curl:
A valid response returns a JSON snapshot with your configs, secrets, and flags. An HTTP 401 means the key is wrong; HTTP 404 means the slug is wrong. To watch the live SSE stream:
You should see event:resync arrive within a second. Press Ctrl+C to stop.