Intellij Idea 2016.2 gradle

After updating to 2016.2 gradle project that have resources failed to build:

Error:gradle-resources-production:module_main: java.lang.NoSuchMethodError: org.gradle.api.specs.AndSpec.getSpecsArray()[Lorg/gradle/api/specs/Spec;

Easy to reproduce:

  • Create new gradle project using New->Project..
  • Create index.html under the src\main\resources

Any help?




1 comment
Comment actions Permalink

found what was wrong, copied 2016.2 into directory with previous version,


Please sign in to leave a comment.