Skip to content

Commit

Permalink
build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyberkovitz committed Feb 16, 2022
1 parent 8f1cfaa commit e22ed63
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ allprojects {
url = uri("https://maven.pkg.github.com/joeyberkovitz/stokenjava")
credentials {
Properties localProps = new Properties()
localProps.load(project.rootProject.file('local.properties').newDataInputStream())
try {
localProps.load(project.rootProject.file('local.properties').newDataInputStream())
} catch (Exception ignored) {}
username = localProps.getProperty("gpr.user") ?: System.getenv("USERNAME")
password = localProps.getProperty("gpr.key") ?: System.getenv("TOKEN")
}
Expand Down

0 comments on commit e22ed63

Please sign in to comment.