Gralde build failed with repository

I am trying to use a repository as defined below, however the build fails with the error * Where: Build file ‘C:\work\workspaces\opa\opa-wsclient\build.gradle’ line: 7

  • What went wrong: A problem occurred evaluating root project ‘opa-wsclient’. > Could not find method reficio() for arguments [build_9u17kc5k407mviio37dftolrm$_run_closure1_closure3@6d5451eb] on root project ‘opa-wscli ent’.

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 3.766 secs

---- apply plugin : ‘java’ apply plugin : ‘eclipse’

repositories {

mavenCentral()

jcenter()

reficio {

url “http://repo.reficio.org/maven

} }

dependencies {

compile group:‘org.reficio’, name:‘soap-client’, version:‘1.0.0-SNAPSHOT’ }

The syntax for declaring the reficio repository is wrong. You’ll find the correct syntax in the Gradle User Guide or Gradle Build Language Reference.