can't apply gradle application plugin to my build script
my build.gradle looks like:
app开发者_开发技巧ly plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'application'
......
when I execute gradle build I get the following output: FAILURE: Build failed with an exception. * What went wrong: A problem occurred evaluating root project XXXXX. Cause: Plugin with id 'application' not found.
I'm using gradle-0.9.2. I'v also noticed that the class ApplicationPlugin does not exist in my GRADLE_HOME/lib/plugin
-- Yonatan
The Application Plugin was introduced in Gradle 1.0-milestone-1. Since this was otherwise mostly a bugfix release, upgrading should be safe.
精彩评论