build.gradle - Gradle error : Could not find method maybeCreate() for arguments [victims] on configuration container -


i getting error while configuring victims plugin in build.gradle. gradle version 2.0.

buildscript {      repositories {          mavenrepo url: "http://xxxxx.xxx.xxx.xxx/content/groups/public/"      }      dependencies {          classpath 'com.xxxx.xxx.crm:gradle-plugins:1.3.5'      }  }    apply plugin: 'victims'    victims {      fingerprint = 'fatal'      updates = 'auto'  }

error :

could not find method maybecreate() arguments [victims] on configuration container.

same configuration works in project without method(maybecreate()) declaration. not sure, missing here? can advise me?

i have fixed issue. issue old gradle version. have changed gradle version 1.3 1.10 in distributionurl property in gradle-wrapper.properties solves issue.

distributionurl=http://xxxx.xxx.xom/gradle/gradle-1.10-bin.zip 

anyway al jacinto.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -