gradle-plugin: Implement library block

This commit is contained in:
Ilya Matveev
2017-09-27 17:02:45 +03:00
committed by ilmat192
parent 86ee37b7e8
commit edfe593ea7
6 changed files with 319 additions and 106 deletions
+5
View File
@@ -298,6 +298,11 @@ For this project the task graph will be the following:
// Add the `anotherTask` to the stub generation task dependencies.
dependsOn anotherTask
// Add dependency on 'library' in the output klib (analogue of 'depends' parameter in a def-file)
// where 'library' is a konan interop or konan interop name.
klibDependsOn 'konanInteropName'
klibDependsOn konanInterop['foo']
// Pass additional command line options to the cinterop tool.
extraOpts '-shims', 'true'
}