typescript-generator
typescript-generator copied to clipboard
Incorrectly depends on compiling tests
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")