gradle-plugin: Fix interop artifact path

This commit is contained in:
Ilya Matveev
2017-05-26 13:15:06 +07:00
committed by alexander-gorshenev
parent 1970af042f
commit 62134a0573
@@ -91,7 +91,7 @@ open class KonanCompilerConfig(
anotherTask.target?.let { target(it) }
anotherTask.languageVersion?.let { languageVersion(it) }
anotherTask.apiVersion?.let { apiVersion(it) }
anotherTask.produce?.let { produce(it) }
anotherTask.produce.let { produce(it) }
if (anotherTask.noStdLib) noStdLib()
if (anotherTask.noMain) noMain()
@@ -107,10 +107,7 @@ open class KonanCompilerConfig(
compilationTask.dependsOn(generateStubsTask)
linkerOpts(generateStubsTask.linkerOpts)
libraries(project.fileTree(compileStubsTask.outputDir).apply {
builtBy(compileStubsTask)
include("**/*.bc")
})
library(compileStubsTask.artifactPath)
nativeLibraries(project.fileTree(generateStubsTask.libsDir).apply {
builtBy(generateStubsTask)
include("**/*.bc")