Commit b12d8c4
committed
Only configure whitebox test suite if the a test src folder exists
This is mainly for the default 'test' source set, which is always
registered. If it is not used, the whitebox configuration will cause
Gradle to think that there are supposed to be tests, because the
main classes become part of the "test classes" set. This will cause
Gradle to run the task without tests and throw an error
(in recent Gradle versions).1 parent ed6423f commit b12d8c4
File tree
1 file changed
+5
-2
lines changed- src/main/java/org/gradlex/javamodule/testing
1 file changed
+5
-2
lines changedLines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
72 | 75 | | |
73 | 76 | | |
74 | 77 | | |
| |||
0 commit comments