79669114

Date: 2025-06-17 12:59:24
Score: 0.5
Natty:
Report link

This will make ./gradlew testFlavor1UnitTest exclude all classes from the common test folder while keeping everything else exactly the same.

afterEvaluate {
    tasks.withType(Test).matching { it.name.contains('Flavor') }.all {
        exclude '**/test/**'
    }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Muhammad Saad Ali Khan