开发者

can't apply gradle application plugin to my build script

开发者 https://www.devze.com 2023-02-17 20:47 出处:网络
my build.gradle looks like: app开发者_开发技巧ly plugin: \'java\' apply plugin: \'eclipse\' apply plugin: \'application\'

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消