aboutsummaryrefslogtreecommitdiffstats
path: root/ms/blueprintsprocessor/modules/blueprints
diff options
context:
space:
mode:
authorvmuthukrishnan@aarnanetworks.com <vmuthukrishnan@aarnanetworks.com>2021-04-26 16:46:41 +0530
committervmuthukrishnan@aarnanetworks.com <vmuthukrishnan@aarnanetworks.com>2021-04-26 17:28:46 +0530
commitbfca233b96801b53af015f3532fa73c615fef6e4 (patch)
tree1f049a941dbb3782d4689e0ab2a2c20d1fe60ffe /ms/blueprintsprocessor/modules/blueprints
parent4fc19e99b83b75f4017aceb5111b6f26fd0c6cc0 (diff)
Fix for CCSDK-3271 added kotlin compiler option java 11
Issue-ID: CCSDK-3271 Change-Id: I9c007c9e332206fb1631442d6acfd41a1e57a882 Signed-off-by: vmuthukrishnan@aarnanetworks.com <vmuthukrishnan@aarnanetworks.com>
Diffstat (limited to 'ms/blueprintsprocessor/modules/blueprints')
-rw-r--r--ms/blueprintsprocessor/modules/blueprints/blueprint-core/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/core/scripts/BlueprintCompileService.kt2
1 files changed, 2 insertions, 0 deletions
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()