Skip to content

Commit

Permalink
Update gradle gh packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Hinton committed Oct 21, 2024
1 parent 3fefa19 commit 9a0db4a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions languages/kotlin/sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ publishing {
repositories {
maven {
name = 'GitHubPackages'
url = 'https://maven.pkg.github.com/bitwarden/sdk'
url = 'https://maven.pkg.github.com/bitwarden/sdk-internal'
credentials {
username = System.getenv('GITHUB_ACTOR')
password = System.getenv('GITHUB_TOKEN')
Expand All @@ -96,12 +96,12 @@ File findRustlsPlatformVerifierClassesJar() {
}.standardOutput.asText.get()

def dependencyJson = new groovy.json.JsonSlurper().parseText(dependencyText)
def manifestPath = file(dependencyJson.packages.find { it.name == "rustls-platform-verifier-android" }.manifest_path)
def manifestPath = file(dependencyJson.packages.find { it.name == 'rustls-platform-verifier-android' }.manifest_path)

def aar = fileTree(manifestPath.parentFile).matching {
include "maven/rustls/rustls-platform-verifier/*/rustls-platform-verifier-*.aar"
include 'maven/rustls/rustls-platform-verifier/*/rustls-platform-verifier-*.aar'
}.getSingleFile()
return zipTree(aar).matching { include 'classes.jar'}.getSingleFile()
return zipTree(aar).matching { include 'classes.jar' }.getSingleFile()
}

dependencies {
Expand Down

0 comments on commit 9a0db4a

Please sign in to comment.