File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,9 @@ group = publishedGroupId
8383
8484bintray {
8585 Properties properties = new Properties ()
86- properties. load(project. rootProject. file(' local.properties' ). newDataInputStream())
86+ if (project. rootProject. file(' local.properties' ). exists()) {
87+ properties. load(project. rootProject. file(' local.properties' ). newDataInputStream())
88+ }
8789 user = properties. getProperty(' bintray.user' )
8890 key = properties. getProperty(' bintray.apikey' )
8991
Original file line number Diff line number Diff line change @@ -96,7 +96,9 @@ group = publishedGroupId
9696
9797bintray {
9898 Properties properties = new Properties ()
99- properties. load(project. rootProject. file(' local.properties' ). newDataInputStream())
99+ if (project. rootProject. file(' local.properties' ). exists()) {
100+ properties. load(project. rootProject. file(' local.properties' ). newDataInputStream())
101+ }
100102 user = properties. getProperty(' bintray.user' )
101103 key = properties. getProperty(' bintray.apikey' )
102104
You can’t perform that action at this time.
0 commit comments