fixed build.gradle for the environment without defined variables 'sonatype.username' and 'sonatype.password'