typescript-generator icon indicating copy to clipboard operation
typescript-generator copied to clipboard

Incorrectly depends on compiling tests

Open pkubowicz opened this issue 2 years ago • 0 comments

Current logic adds dependency on all tasks that:

task.getName().startsWith("compile") && !task.getName().startsWith("compileTest")

This is incorrect, as you may have more types of tests than standard ones: https://blog.gradle.org/introducing-test-suites

You can have compileIntegrationTest and many more.

The correct logic should be:

&& !task.getName().contains("Test")

pkubowicz avatar Jun 08 '23 06:06 pkubowicz