updated for Android Studio 1.0 and new AAR publishing system