Apply previous version of Gradle plugin under development

I’m trying to use the Coveralls plugin to report Coveralls statistics using a previous version of the plugin, but Gradle seems to barf on a cryptic error that seems similar to GRADLE-3129:

> Could not resolve all dependencies for configuration ':classpath'.
   > Module version org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.6.0, configuration 'classpath' declares a dependency on configuration 'default' which is not declared in the module descriptor for org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.6.0`

Interestingly enough, the project included a gradle.properties that defined group and version, and by moving these two properties into build.gradle, the problem resolves itself.