Skip to content

build: Use Gradle credentials system#3472

Open
validcube wants to merge 3 commits intoReVanced:devfrom
validcube:vtaefcfd
Open

build: Use Gradle credentials system#3472
validcube wants to merge 3 commits intoReVanced:devfrom
validcube:vtaefcfd

Conversation

@validcube
Copy link
Member

@validcube validcube commented Jan 8, 2026

Switch to PasswordCredentials when during authentication with ghcr

nts:

githubPackagesUsername=
githubPackagesPassword=

List of what repository have PR submitted see: ReVanced/revanced-manager-downloaders-template#16 (comment)

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates from explicit credential configuration to Gradle's built-in PasswordCredentials system for GitHub Packages authentication. The change aims to standardize credential handling by using Gradle's property-based credential mechanism.

Key changes:

  • Replaced explicit username/password configuration with credentials(PasswordCredentials::class) in settings.gradle.kts
  • Updated GitHub Actions workflows to use ORG_GRADLE_PROJECT_ prefixed environment variables for credential injection

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 7 comments.

File Description
settings.gradle.kts Simplified credential configuration by using Gradle's PasswordCredentials class
.github/workflows/release.yml Updated environment variables to inject credentials via Gradle project properties
.github/workflows/build_pull_request.yml Updated environment variables to inject credentials via Gradle project properties

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants