drofwarcs
03/25/2019, 1:03 AMplugins {
kotlin("multiplatform") version "1.3.30-eap-45"
kotlin("xcode-compat") version "0.1"
}
and
kotlin {
xcode {
setupFramework("KotlinNativeFramework")
}
}
Is this expected to take the place of the packForXcode
gradle tasks we have to create now? Any more info on what we can do with the xcode-compat
gradle plugin?Vyacheslav Karpukhin [JB]
03/25/2019, 10:59 AMsetupFramework
is meant to reduce boilerplate and simply defines a buildForXcode
task, which is supposed to be invoked when building from Xcode/AppCode. The task retrieves the required information from the environment variables populated by Xcode.
There is also a setupApplication
task which is used in other templates. Both helpers accept a lambda, which allows to perform additional configuration of the artifact.drofwarcs
03/25/2019, 1:27 PMlouiscad
03/26/2019, 11:38 AMVyacheslav Karpukhin [JB]
03/27/2019, 9:58 PMDavid
04/26/2019, 1:17 PMDavid
04/26/2019, 2:40 PMVyacheslav Karpukhin [JB]
04/29/2019, 10:39 AM