getgauge/gauge-gradle-plugin

Unable to execute 'clean gauge' when steps implementations are located in src/main/java

dengayevskiy opened this issue · 0 comments

Hi! I'm trying to better understand how to integrate gradle with gauge with the help of this project. For now I've found a problem I can't understand how to solve.

When I move StepImplementation class to src/main/java and try to execute

./gradlew clean gauge

Gradle tells me than there is no source for gauge task:

:sub-project:gauge NO-SOURCE

But I still сan run tests via Gauge runner from Idea.

How to tell Gradle to pass main folder to classpath?