From 6bfbf1050bc5c4b2dc2365b3ecdfbbd850e898b9 Mon Sep 17 00:00:00 2001 From: Svyatoslav Scherbina Date: Thu, 27 Oct 2016 11:26:24 +0300 Subject: [PATCH] build: compile backend.native/tests with Kotlin runtime --- backend.native/tests/build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend.native/tests/build.gradle b/backend.native/tests/build.gradle index 2c527d61370..48ce6bb6f89 100644 --- a/backend.native/tests/build.gradle +++ b/backend.native/tests/build.gradle @@ -29,7 +29,9 @@ public class KonanTest extends DefaultTask { classpath = classpathSs args "-output", "${sourceBc.absolutePath}", "-runtime", "${runtimeBc.absolutePath}", - "${sourceKt.absolutePath}" + "${sourceKt.absolutePath}", + project.project(':runtime').file('src/main/kotlin') + jvmArgs "-Djava.library.path=${backendNative.buildDir.canonicalPath}/nativelibs" } def runtimeS = bc2s(runtimeBc)