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
Hi,
After modernizing library 'au.com.dius.pact' version 4.3.9 to 4.3.12, our service is not building anymore.
The message
> Could not find method hasPactsFromPactBroker() for arguments [our server] on object of type au.com.dius.pact.provider.gradle.GradleProviderInfo.
callstack
Caused by: org.gradle.internal.metaobject.AbstractDynamicObject$CustomMessageMissingMethodException: Could not find method hasPactsFromPactBroker() for arguments [our server] on object of type au.com.dius.pact.provider.gradle.GradleProviderInfo.
at org.gradle.internal.metaobject.AbstractDynamicObject$CustomMissingMethodExecutionFailed.<init>(AbstractDynamicObject.java:190)
at org.gradle.internal.metaobject.AbstractDynamicObject.methodMissingException(AbstractDynamicObject.java:
we use gradle version https://services.gradle.org/distributions/gradle-7.5-all.zip
Any hint, any migration info ?
Thank you in advance.
Michal
The text was updated successfully, but these errors were encountered:
Looks like it is an issue with how the Kotlin compiler is generating the method signatures.
I'm going to fix it but changing the methods on the GradleProviderInfo class, but until then you can add any key-value parameter and it will then match the method signature.
I.e.,
hasPactsFromPactBroker('http://server-url', value: true) // can add any key-value here
Hi,
After modernizing library 'au.com.dius.pact' version
4.3.9
to4.3.12
, our service is not building anymore.The message
callstack
we use gradle version https://services.gradle.org/distributions/gradle-7.5-all.zip
Any hint, any migration info ?
Thank you in advance.
Michal
The text was updated successfully, but these errors were encountered: