Fix for CCSDK-3271 added kotlin compiler option java 11 01/120901/1
authorvmuthukrishnan@aarnanetworks.com <vmuthukrishnan@aarnanetworks.com>
Mon, 26 Apr 2021 11:16:41 +0000 (16:46 +0530)
committervmuthukrishnan@aarnanetworks.com <vmuthukrishnan@aarnanetworks.com>
Mon, 26 Apr 2021 11:58:46 +0000 (17:28 +0530)
Issue-ID: CCSDK-3271
Change-Id: I9c007c9e332206fb1631442d6acfd41a1e57a882
Signed-off-by: vmuthukrishnan@aarnanetworks.com <vmuthukrishnan@aarnanetworks.com>
ms/blueprintsprocessor/modules/blueprints/blueprint-core/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/core/scripts/BlueprintCompileService.kt

index 5cf0a93..852a742 100644 (file)
@@ -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()