Fix bad build.gradle by using hasProperty
Fix bad build.gradle by using hasProperty

Gradle docs section 14.2.1
https://gradle.org/docs/current/userguide/tutorial_this_and_that.html#sub:checking_for_project_properties

samrocketman/jervis,samrocketman/jervis