martmists

    martmists

    1 month ago
    Is there an easier way to target all platforms than this?
    jvm()
        js(IR) {
            browser()
            nodejs()
        }
        androidNativeX64()
        androidNativeX86()
        androidNativeArm32()
        androidNativeArm64()
        ios()
        watchos()
        tvos()
        linuxX64()
        linuxArm64()
        linuxArm32Hfp()
        linuxMips32()
        linuxMipsel32()
        mingwX64()
        mingwX86()
        macosX64()
        macosArm64()
        wasm32()
    Dominaezzz

    Dominaezzz

    1 month ago
    Yes. iirc the docs have an example.
    There's
    presets
    list you can do a for each on.
    Then targetWithPreset