Migrating to Gradle 2.0 causes scct configuration to fail the build, Works in old versions

I am trying to migrate our project to Gradle 2.0

We use the following plugin : https://github.com/sqality/gradle-scct and it fails with following error.

Failed to notify ProjectEvaluationListener.afterEvaluate(), but primary configuration failure takes precedence. java.lang.IllegalStateException: Expected configuration ‘:scct’ to contain exactly one file, however, it contains no files.

I’ve tried with a simple Gradle 2.0 build, and the ‘scct’ plugin worked fine for that. Chances are that the problem is specific to your particular build.

Yes. i was going to update this thread. The issue was the Artifactory plugin was causing this error in scct. Upgrading artifactory plugin to latest version fixed it.

No problem. Thanks for the feedback.