Here’s the `targets` block of my `build.gradle` ``...
# multiplatform
d
Here’s the
targets
block of my
build.gradle
Copy code
targets {
        final def iOSPreset = System.getenv('SDK_NAME')?.startsWith("iphoneos") ? presets.iosArm64 : presets.iosX64

        fromPreset(iOSPreset, 'iOS') {
            compilations.main.outputKinds('FRAMEWORK')
        }

        fromPreset(presets.jvm, 'android')
    }
d
Use
presets.android
.
d
Cool, thanks. Does the
kotlin-multiplatform
an online documentation I can use for checking the methods and properties that provides?
d
Hmm, apart from the official guide, I don't think there is one. The IDE is your best bet.
d
The problem is that I can’t browse the plugin implementation using the IDE
d
Ctrl+Q?
d
yep, no doc
d
Hmm, I usually get docs with
build.gradle.kts
.
d
I’m using groovy, maybe using kotlin also in the build file something will help me
d
Yeah, it helps a lot with auto completion and docs. The IDE is a bit less performant with kts though. It's being fixed anyways.
d
Ok i’ll give it a try. Thanks a lot!
@Dominaezzz sorry I got another problem using
presets.android
. It seems that is not defined. It’s defined only using the android library plugin
I managed to solve the problem. gonna write a message just to share knowledge