We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60e0370 commit 393b980Copy full SHA for 393b980
layoutcompat/build.gradle
@@ -18,9 +18,13 @@ android {
18
}
19
20
21
-Properties properties = new Properties()
22
-properties.load(project.rootProject.file('local.properties').newDataInputStream())
+def propFile = project.rootProject.file("local.properties")
+if(propFile.exists()) {
23
+ Properties properties = new Properties()
24
+ properties.load(propFile.newDataInputStream())
25
-if(properties.containsKey("BINTRAY_USER") && properties.containsKey("BINTRAY_API_KEY")){
- apply from: 'bintray.gradle'
26
+ if (properties.containsKey("BINTRAY_USER") && properties.containsKey("BINTRAY_API_KEY")) {
27
+ apply from: 'bintray.gradle'
28
+ }
29
30
+
0 commit comments