We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f5db7f commit a7ae482Copy full SHA for a7ae482
gradle-manifest-war.md
@@ -0,0 +1,13 @@
1
+title: Gradle: Add an attribute to MANIFEST.MF in a WAR file
2
+tags: gradle-war,gradle
3
+
4
+You can use the manifest property in a Gradle War task to add an attribute to MANIFEST.MF.
5
6
+The below does just that, creating a new war files [Your Project Name]-Something.war with the added manifest.mf attribute.
7
8
+ task createAWarFile(type: War) {
9
+ classifier = 'Something'
10
+ manifest { attributes "HI": "THERE" }
11
+ }
12
13
0 commit comments