Changed "versions" configuration field to "variants" in Gradle plugin.