Source code doesn't build with Gradle 2.3

I just downloaded the java client source from github and ran gradle build. The build fails with:

  • Where:
    Build file ‘/Users/stephanostsoucas/workspace/couchbase-java-client/build.gradle’ line: 108

  • What went wrong:
    A problem occurred evaluating root project ‘java-client’.

Cannot change configuration ‘:optional’ after it has been resolved.

Am I building it wrong? I haven’t been able to find any other information.

@nosman, you should use the gradlew that comes with it… so if you want to build it you can use ./gradlew publishToMavenLocal … (so use the publish tasks, not build)… also make sure to do the same before with the core-io module, since the java-client depends on it: (