Closed knjname closed 4 years ago
testClassesDir is replaced in gradle 5 with testClassesDirs, can this be fixed in the task jobDslTest
Made a fix to this issue (by checking gradle version, if it is gradle 5 or greater, use testClassesDirs) : https://github.com/AOEpeople/gradle-jenkins-job-dsl-plugin/pull/12
Thanks @yizhuan for the PR :)
I added a test to it to smoke test Gradle Versions 4, 5 and 6 and fixed the property used. I put that in a new PR so don't get confused when I close your original one ;)
Thank you all.
Fixed with #13 Release v2.8.0
testClassesDir
property may have been removed since Gradle 5. And I make the gradle version back to 4, it works.