Skip to content

Commit

Permalink
Use "token" as fallback username for GitHub Maven (#12)
Browse files Browse the repository at this point in the history
* Change GitHub maven username to "token"

* Allow username to be configured, with "token" fallback
  • Loading branch information
tcobbs-bentley authored Jun 3, 2022
1 parent c330cbc commit 1658b6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencyResolutionManagement {
maven {
url = uri("https://maven.pkg.github.com/itwin/mobile-native-android")
credentials {
username = properties.getProperty("gpr.user") ?: System.getenv("USERNAME")
username = properties.getProperty("gpr.user") ?: System.getenv("USERNAME") ?: "token"
password = properties.getProperty("gpr.key") ?: System.getenv("TOKEN")
}
}
Expand Down

0 comments on commit 1658b6a

Please sign in to comment.