From 7082e684092eb6601fef3e87e7adcb0883bd234e Mon Sep 17 00:00:00 2001 From: Thomas Schroeter Date: Mon, 20 Aug 2018 15:10:08 +0100 Subject: [PATCH] Cleanup the Jib build task --- node/build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/node/build.gradle b/node/build.gradle index 46f3827a85..1a451aef48 100644 --- a/node/build.gradle +++ b/node/build.gradle @@ -48,7 +48,8 @@ sourceSets { jib.container { mainClass = "net.corda.node.Corda" args = ['--log-to-console', '--no-local-shell', '--config-file=/config/node.conf'] - jvmFlags = ['-Xmx1g', '-javaagent:/app/libs/quasar-core-' + "${quasar_version}" + '-jdk8.jar'] + // The Groovy string needs to be converted to a `java.lang.String` below. + jvmFlags = ['-Xmx1g', "-javaagent:/app/libs/quasar-core-${quasar_version}-jdk8.jar".toString()] } // Use manual resource copying of log4j2.xml rather than source sets.