From bfca233b96801b53af015f3532fa73c615fef6e4 Mon Sep 17 00:00:00 2001 From: "vmuthukrishnan@aarnanetworks.com" Date: Mon, 26 Apr 2021 16:46:41 +0530 Subject: Fix for CCSDK-3271 added kotlin compiler option java 11 Issue-ID: CCSDK-3271 Change-Id: I9c007c9e332206fb1631442d6acfd41a1e57a882 Signed-off-by: vmuthukrishnan@aarnanetworks.com --- .../cds/controllerblueprints/core/scripts/BlueprintCompileService.kt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ms/blueprintsprocessor/modules/blueprints') 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() -- cgit 1.2.3-korg