svn commit: r1756311 - /ofbiz/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: r1756311 - /ofbiz/trunk/build.gradle

Taher Alkhateeb
Author: taher
Date: Sun Aug 14 12:15:02 2016
New Revision: 1756311

URL: http://svn.apache.org/viewvc?rev=1756311&view=rev
Log:
oops, forgot to pass the variable in previous commit

Modified:
    ofbiz/trunk/build.gradle

Modified: ofbiz/trunk/build.gradle
URL: http://svn.apache.org/viewvc/ofbiz/trunk/build.gradle?rev=1756311&r1=1756310&r2=1756311&view=diff
==============================================================================
--- ofbiz/trunk/build.gradle (original)
+++ ofbiz/trunk/build.gradle Sun Aug 14 12:15:02 2016
@@ -252,7 +252,7 @@ jar {
         attributes(
             "Implementation-Title": project.name,
             "Main-Class": ofbizMainClass,
-            "Class-Path": getJarManifestClasspathForCurrentOs()
+            "Class-Path": getJarManifestClasspathForCurrentOs(os)
         )
     }
 }
@@ -818,7 +818,7 @@ def generateFileFromTemplate(templateFil
     }
 }
 
-def getJarManifestClasspathForCurrentOs() {
+def getJarManifestClasspathForCurrentOs(os) {
     def osClassPath = ''
     if(os.contains('windows')) {
         configurations.runtime.files.each { cpEntry ->