migrated to support Gradle and publish an AAR artifact