I'm trying to execute a such command in the console:
./gradlew cucumber -Pthreads=80 -Ptags=@ALL_API_TESTS
in the build.gradle:
cucumber {
threads = "$threads"
glue = 'classpath:com.sixtleasing.cucumber.steps'
plugin = ['pretty']
tags = "$tags"
featurePath = 'src/main/resources/feature'
main = 'cucumber.api.cli.Main'
}
but it doesnt work :( How can I fix it?
threads = project.findProperty("threads")
?project.threads
directly.