Gradle: Complex Checks for CI