darkmoon_uk
03/02/2021, 10:38 PMxcode-compat
Gradle plugin
• A distinct KotlinFramework target, which accomodates the familiar call-out to Gradle for building Kotlin/Native code
• A check for the environment variable KOTLIN_NATIVE_BUILD_CAPABLE
(who sets this?)
Is there any documentation or guidance out there; anyone making this work?Tijl
03/03/2021, 9:21 AMakapanina
03/03/2021, 12:58 PMVyacheslav Karpukhin [JB]
03/03/2021, 4:00 PMxcode-compat
plugin is just a simpler way to provide a buildForXcode
task, everything it does can be done with a plain kotlin-multiplatform
gradle plugin.
What I want to do is [...] make the AppCode Xcode project 'aware' of the KMM module.This should be possible if you take the Xcode project created via project wizard as a reference and use a similar structure. I don't think there are any specific requirements to the Gradle part. Sorry there isn't an easier way to do this at the moment, but we're working on improving this aspect as well.
[JB] have you settled on the way this is supposed to work yet?We don't really like how an Xcode and a Gradle projects are currently linked together and have a couple of ideas how this can be made easier.
A check for the environment variableThis is set by the AppCode plugin, since it invokes the gradle build directly (with a better UI), so there is no need to do it via the script phase.(who sets this?)KOTLIN_NATIVE_BUILD_CAPABLE
I checked the EAP and it has no up to date plugin at all anymore for meThe plugin is not available for 2021.1 yet, but it will be.