Gradle does not execute any unit tests on build

Hi,

i got an dropwizard application with tests located in “src/test/java”. whe running “gradle build” no unit test is runnig. when i add a test the output of test is “Up-To-Date”.

What can i do ?

My Source Sets are

sourceSets {
main {
java {
include ‘src//java//.java’
}
resources {
srcDir ‘src/generated/resources’
}
}
generated {
java {
include 'src/generated/java/
/.java’
}
}
test {
java {
include 'src/
/java/**/.java’
}
}
}

Changing to this helped

sourceSets {
main {
java {
include ‘src/generated/java/**/.java’
}
}
}