File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 33* .iws
44* .iml
55.gradle
6- local.properties
Original file line number Diff line number Diff line change @@ -25,8 +25,9 @@ def siteUrl = 'https://github.com/egulias/EmailValidator4J'
2525def gitUrl = ' https://github.com/egulias/EmailValidator4J.git'
2626group = " egulias"
2727
28- Properties properties = new Properties ()
29- properties. load(project. rootProject. file(' local.properties' ). newDataInputStream())
28+ String getProperty (String name , String value ) {
29+ project. hasProperty (name)? project. property (name) : value
30+ }
3031
3132
3233task createPom << {
@@ -49,8 +50,8 @@ task createPom << {
4950}
5051
5152bintray {
52- user = properties . getProperty(" bintray.user" )
53- key = properties . getProperty(" bintray.apikey" )
53+ user = getProperty(" bintray.user" , " anon " )
54+ key = getProperty(" bintray.apikey" , " anon " )
5455
5556 configurations = [' archives' ]
5657 pkg {
You can’t perform that action at this time.
0 commit comments