gradle-plugin: Fix interop artifact path
This commit is contained in:
committed by
alexander-gorshenev
parent
1970af042f
commit
62134a0573
@@ -91,7 +91,7 @@ open class KonanCompilerConfig(
|
|||||||
anotherTask.target?.let { target(it) }
|
anotherTask.target?.let { target(it) }
|
||||||
anotherTask.languageVersion?.let { languageVersion(it) }
|
anotherTask.languageVersion?.let { languageVersion(it) }
|
||||||
anotherTask.apiVersion?.let { apiVersion(it) }
|
anotherTask.apiVersion?.let { apiVersion(it) }
|
||||||
anotherTask.produce?.let { produce(it) }
|
anotherTask.produce.let { produce(it) }
|
||||||
|
|
||||||
if (anotherTask.noStdLib) noStdLib()
|
if (anotherTask.noStdLib) noStdLib()
|
||||||
if (anotherTask.noMain) noMain()
|
if (anotherTask.noMain) noMain()
|
||||||
@@ -107,10 +107,7 @@ open class KonanCompilerConfig(
|
|||||||
compilationTask.dependsOn(generateStubsTask)
|
compilationTask.dependsOn(generateStubsTask)
|
||||||
|
|
||||||
linkerOpts(generateStubsTask.linkerOpts)
|
linkerOpts(generateStubsTask.linkerOpts)
|
||||||
libraries(project.fileTree(compileStubsTask.outputDir).apply {
|
library(compileStubsTask.artifactPath)
|
||||||
builtBy(compileStubsTask)
|
|
||||||
include("**/*.bc")
|
|
||||||
})
|
|
||||||
nativeLibraries(project.fileTree(generateStubsTask.libsDir).apply {
|
nativeLibraries(project.fileTree(generateStubsTask.libsDir).apply {
|
||||||
builtBy(generateStubsTask)
|
builtBy(generateStubsTask)
|
||||||
include("**/*.bc")
|
include("**/*.bc")
|
||||||
|
|||||||
Reference in New Issue
Block a user