You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mt...@apache.org on 2019/03/16 23:48:57 UTC

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

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 ->