I\'m trying to encapsulate android plugin in my own plugin, but when I\'m trying to apply my plugin build fails with an exception:
A problem occurred evaluating
Use the project's PluginManager. For example, the war plugin pulls in the java plugin like this:
PluginManager
java
public class WarPlugin implements Plugin { // ... public void apply(final Project project) { project.getPluginManager().apply(org.gradle.api.plugins.JavaPlugin.class); // ... } // ... }