added conditional sonatypeUsername
fixed Android Studio preview error, updated gradle version
wrong checking for sonatypeUsername
based on 4.4.2 version of the listview