Generate apklib with Gradle.