You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I execute the ./gradlew consumer:test --tests *PactTest* pactPublish command I get the below error (java.io.FileNotFoundException):
...
> Task :consumer:pactPublish FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':consumer:pactPublish'.
> java.io.FileNotFoundException: /Users/jhatting/.gradle/daemon/6.6.1/consumer/build/pacts
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 3s
5 actionable tasks: 1 executed, 4 up-to-date
Seems it's resolving to my root folder and not the project root folder. Managed to fix it by removing pactDirectory from the config completely. Publish to local broker works with the below gradle config:
There seems to be an issue with directory resolution in step11 for the
pactDirectory
in consumerbuild.gradle
:When I execute the
./gradlew consumer:test --tests *PactTest* pactPublish
command I get the below error (java.io.FileNotFoundException
):Seems it's resolving to my root folder and not the project root folder. Managed to fix it by removing
pactDirectory
from the config completely. Publish to local broker works with the below gradle config:The text was updated successfully, but these errors were encountered: