svn commit: r1855676 - /ofbiz/ofbiz-framework/trunk/build.gradle

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1855676 - /ofbiz/ofbiz-framework/trunk/build.gradle

mthl
Author: mthl
Date: Sat Mar 16 23:48:57 2019
New Revision: 1855676

URL: http://svn.apache.org/viewvc?rev=1855676&view=rev
Log:
Improved: Compact the definition of the jar manifest attributes

Modified:
    ofbiz/ofbiz-framework/trunk/build.gradle

Modified: ofbiz/ofbiz-framework/trunk/build.gradle
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/build.gradle?rev=1855676&r1=1855675&r2=1855676&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/build.gradle (original)
+++ ofbiz/ofbiz-framework/trunk/build.gradle Sat Mar 16 23:48:57 2019
@@ -283,15 +283,11 @@ sourceSets {
     }
 }
 
-jar {
-    manifest {
-        attributes(
-            "Implementation-Title": project.name,
-            "Main-Class": ofbizMainClass,
-            "Class-Path": getJarManifestClasspathForCurrentOs()
-        )
-    }
-}
+jar.manifest.attributes(
+    'Implementation-Title': project.name,
+    'Main-Class': ofbizMainClass,
+    'Class-Path': getJarManifestClasspathForCurrentOs()
+)
 
 // Eclipse plugin settings
 eclipse.classpath.file.whenMerged { classpath ->