Fix missing project properties error

This commit is contained in:
serso 2016-02-28 21:34:58 +01:00
parent 8a2456d9a4
commit 218dec4a36

View File

@ -27,5 +27,13 @@ allprojects {
flatDir { flatDir {
dirs 'misc/libs' dirs 'misc/libs'
} }
if (!project.hasProperty("ossrhUsername")) {
ext.ossrhUsername = "no-username"
}
if (!project.hasProperty("ossrhPassword")) {
ext.ossrhPassword = "no-password"
}
} }
} }