Demonstration for multiple issues with the Android Gradle Transform API
Inside the app's build.gradle you control how to run the transform by the parameters passed in its constructor.
The build.gradle has more information.
The v1.5.0
tag has the original issue.
The v3.0.0-beta6
tag can be used to show that one issue, https://issuetracker.google.com/issues/37072847, was resolved.