Error 方法无签名:org.gradle.util.NameValidator.asValidName(( 适用于参数类型:(org.codehaus.groovy.runtime.GStringImpl( 值:[pactVerify_Our_Provider]
pact {
serviceProviders {
'Our_Provider' {
port = 8080
startProviderTask = startProvider
terminateProviderTask = stopProvider
stateChangeUrl = url('http://localhost:8080/pactStateChange')
if (project.hasProperty('pactBrokerUser') && pactBrokerUser != '<YOUR USER>') {
hasPactsFromPactBroker("https://test.pact.dius.com.au", authentication: ['Basic', pactBrokerUser, pactBrokerPassword])
}
}
}
}
有谁知道为什么会有这个错误 多谢!!!
看这里: https://github.com/DiUS/pact-jvm/issues/693
显然,gradle 4.8 支持已在 pact-jcm 3.5.19 中修复