I\'m writing a Gradle plugin and I\'m failing to get the apply plugin: command to work in the Gradle script that uses the plugin. I\'m using Gradle 1.1.
apply plugin:
The plugin Jar has to be added as a build script dependency:
buildscript { repositories { flatDir name: 'libs', dirs: "../build/libs" } dependencies { classpath 'test:test-plugin:0.1' } } apply plugin: "test-plugin"