Hi,
if we define the runtimeClasspath of our tests like in the following snippet gradle doens’t execute the tests but it also doesn’t show them as UP-TO-DATE.
sourceSets {
test {
runtimeClasspath = files(output.resourcesDir) + files(output.classesDir) +
sourceSets.main.output + configurations.testRuntime
}
}
:edoras-bpm-execution-core:build UP-TO-DATE
:edoras-bpm-execution-documentation:compileJava UP-TO-DATE
:edoras-bpm-execution-documentation:processResources UP-TO-DATE
:edoras-bpm-execution-documentation:classes UP-TO-DATE
:edoras-bpm-execution-documentation:jar UP-TO-DATE
:edoras-bpm-execution-documentation:zipDependencies UP-TO-DATE
:edoras-bpm-execution-documentation:filterResources UP-TO-DATE
:edoras-bpm-execution-documentation:snippets
:edoras-bpm-execution-documentation:docbook
:edoras-bpm-execution-documentation:zipDocumentation
:edoras-bpm-execution-documentation:assemble
:edoras-bpm-execution-documentation:test
:edoras-bpm-execution-documentation:check
:edoras-bpm-execution-documentation:build
:edoras-bpm-execution-load:compileJava UP-TO-DATE
:edoras-bpm-execution-load:processResources UP-TO-DATE
We got this snippet from this post: http://forums.gradle.org/gradle/topics/classpath_order_of_test_resources_and_test_classes_while_executing_tests
Thanks
Guy