mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-24 23:47:11 -07:00
Make local.properties optional.
This commit is contained in:
parent
233492c237
commit
2239272235
2 changed files with 3 additions and 4 deletions
|
@ -38,7 +38,9 @@ publishing {
|
|||
task install(dependsOn: publishToMavenLocal)
|
||||
|
||||
Properties properties = new Properties()
|
||||
properties.load(project.rootProject.file('local.properties').newDataInputStream())
|
||||
if (new File('local.properties').exists()) {
|
||||
properties.load(project.rootProject.file('local.properties').newDataInputStream())
|
||||
}
|
||||
|
||||
bintray {
|
||||
user = properties.getProperty("bintray.user")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue