diff --git a/build.gradle b/build.gradle index 210559f..24d2b40 100644 --- a/build.gradle +++ b/build.gradle @@ -57,8 +57,8 @@ publishing { } bintray { - user = property('bintray.username') - key = property('bintray.password') + user = hasProperty('bintray_username') ? bintray_username : System.getenv('BINTRAY_USERNAME') + key = hasProperty('bintray_password') ? bintray_password : System.getenv('BINTRAY_PASSWORD') configurations = ['archives'] pkg { publish = true