Improved: Use the Gradle Plugin DSL (OFBIZ-10700) Since Gradle 2.1 it is recommended to use the ‘plugins {}’ block for binary plugins instead of the “traditional” ‘apply()’ method. See [1] for more details. [1] https://docs.gradle.org/current/userguide/plugins.html