| Hi David, you can declare this dependency directly in your cucumber task by adding the test runtime classpath to the classpath of your javaexec task task cucumber(type: JavaExec) { dependsOn assemble, testClasses main = "cucumber.cli.Main" classpath = configurations.cucumberRuntime + sourceSets.test.runtimeClasspath args = ['-f', 'pretty', '--glue', 'com.rackspace.example.stack.step_definitions', 'src/test/resources'] } regards, René
|
- [gradle-user] Add the test compiled classpath to a custom c... David Kowis
- Re: [gradle-user] Add the test compiled classpath to a... Rene Groeschke

