You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2017/12/05 16:01:31 UTC

[GitHub] markusthoemmes commented on a change in pull request #3059: Modify the unix script

markusthoemmes commented on a change in pull request #3059: Modify the unix script
URL: https://github.com/apache/incubator-openwhisk/pull/3059#discussion_r154991954
 
 

 ##########
 File path: build.gradle
 ##########
 @@ -10,4 +10,29 @@ buildscript {
 subprojects {
     apply plugin: 'scalafmt'
     scalafmt.configFilePath = gradle.scalafmt.config
+
+    afterEvaluate {
+        if (project.plugins.hasPlugin('application')) {
+            startScripts {
+                doLast {
+                    unixScript.text = configureUnixClasspath(unixScript)
+                }
+            }
+        }
+    }
 
 Review comment:
   I googled for a bit and stumbled upon:
   
   ```groovy
   startScripts {
     classpath += files('ext-libs/*', 'config')
   }
   ```
   
   There seems to be a possibility to do this other than manipulating raw lines (which feels a bit rough). I'd need to look further into this, since gradle seems to apply some sanitizing unfortunately.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services