From: vmuthukrishnan@aarnanetworks.com Date: Mon, 26 Apr 2021 11:16:41 +0000 (+0530) Subject: Fix for CCSDK-3271 added kotlin compiler option java 11 X-Git-Tag: 1.2.0~22 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=bfca233b96801b53af015f3532fa73c615fef6e4;p=ccsdk%2Fcds.git Fix for CCSDK-3271 added kotlin compiler option java 11 Issue-ID: CCSDK-3271 Change-Id: I9c007c9e332206fb1631442d6acfd41a1e57a882 Signed-off-by: vmuthukrishnan@aarnanetworks.com --- diff --git a/ms/blueprintsprocessor/modules/blueprints/blueprint-core/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/core/scripts/BlueprintCompileService.kt b/ms/blueprintsprocessor/modules/blueprints/blueprint-core/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/core/scripts/BlueprintCompileService.kt index 5cf0a93af..852a742d4 100644 --- a/ms/blueprintsprocessor/modules/blueprints/blueprint-core/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/core/scripts/BlueprintCompileService.kt +++ b/ms/blueprintsprocessor/modules/blueprints/blueprint-core/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/core/scripts/BlueprintCompileService.kt @@ -94,6 +94,8 @@ open class BlueprintCompileService { add(sourcePath) add("-d") add(compiledJarFile.absolutePath) + add("-jvm-target") + add("11") } val deferredCompile = async { val k2jvmCompiler = K2JVMCompiler()