Skip to content

Commit

Permalink
fix grp settings
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjenx committed Oct 22, 2024
1 parent 7f8c824 commit e9306e9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ dependencyResolutionManagement {
mavenCentral()
maven {
// https://maven.pkg.github.com/MercuryTechnologies/sqkon/com/mercury/sqkon/library/1.0.0-alpha01/library-1.0.0-alpha01.pom
val gprUser = extra["gpr.user"] as String?
val gprKey = extra["gpr.key"] as String?

val gprUser = if (extra.has("gpr.user")) extra["gpr.user"] as String? else null
val gprKey = if (extra.has("gpr.key")) extra["gpr.key"] as String? else null
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/MercuryTechnologies/sqkon")
credentials {
Expand Down

0 comments on commit e9306e9

Please sign in to comment.