markusthoemmes commented on a change in pull request #3886: Proposing Lean
OpenWhisk
URL:
https://github.com/apache/incubator-openwhisk/pull/3886#discussion_r206263484
##########
File path: core/lean/build.gradle
##########
@@ -0,0 +1,31 @@
+apply plugin: 'scala'
+apply plugin: 'application'
+apply plugin: 'eclipse'
+apply plugin: 'maven'
+
+ext.dockerImageName = 'lean'
+apply from: '../../gradle/docker.gradle'
+distDocker.dependsOn ':common:scala:distDocker', 'distTar'
+
+project.archivesBaseName = "openwhisk-lean"
+
+repositories {
+ mavenCentral()
+}
+
+dependencies {
+ compile "org.scala-lang:scala-library:${gradle.scala.version}"
+ compile
'com.lightbend.akka.management:akka-management-cluster-bootstrap_2.11:0.11.0'
+ compile
'com.lightbend.akka.discovery:akka-discovery-kubernetes-api_2.11:0.11.0'
+ compile
'com.lightbend.akka.discovery:akka-discovery-marathon-api_2.11:0.11.0'
+ compile project(':common:scala')
+ compile project(':core:controller')
+ compile project(':core:invoker')
+}
+
+tasks.withType(ScalaCompile) {
+ scalaCompileOptions.additionalParameters = gradle.scala.compileFlags
+}
+
+mainClassName = "whisk.core.controller.Controller"
+applicationDefaultJvmArgs =
["-Djava.security.egd=file:/dev/./urandom","-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=7777","-XX:NativeMemoryTracking=summary","-XX:+UseConcMarkSweepGC","-XX:MaxDirectMemorySize=150m"]
Review comment:
Could you explain all the options set here?
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services