Konstantin Petrukhnov
03/06/2018, 5:14 PMolonho
03/06/2018, 6:22 PMKonstantin Petrukhnov
03/07/2018, 6:23 AMKonstantin Petrukhnov
03/07/2018, 6:32 AMilya.matveev
03/07/2018, 8:17 AMartifact
property of a compilation task:
konanArtifacts {
framework('foo', targets: ['iphone'])
}
// Returns the path to the generated framework.
// By default the path is build/konan/bin/<target>/<name>.framework:
// build/konan/bin/iphone/foo.framework.
konanArtifacts.foo.getByTarget('iphone').artifact
If second, you may specify the destination directory for an artefact of each particular target using the destinationDir
DSL method:
konanArtifacts {
framework('foo', targets: ['iphone', 'iphone_sim']) {
iphone {
destinationDir 'foo/iphone'
}
iphone_sim {
destinationDir 'foo/iphone_sim'
}
}
}