0

My gradle war task seems to generate a META-INF in the root of my war file. Is this a bug in gradle?
AFAIK meta-inf doesnt belong in the root of war files.

Here is my build.gradle:

apply plugin:'war'
sourceCompatibility = 1.7

Here is my project layout:

enter image description here

Here is the contents of the war. Notice the META-INF folder

enter image description here

Am I doing something wrong?

4

1 回答 1

1

与 Jar 档案一样,War 档案也应该有一个META-INF/MANIFEST.MF文件。

PS:请勿重复发帖。我已经在http://forums.gradle.org回答了你的问题。

于 2013-05-01T11:14:47.823 回答