Pruning this down to Gradle-only