Hi i am building a Kmm library and with this libra...
# multiplatform
s
Hi i am building a Kmm library and with this library i want to publish native library for ios and android. But when i am downgrading the kotlin version from 1.9.20 to any lower version of kotlin it is showing error in build file "Script compilation errors:" Can anyone help
Copy code
plugins {
    alias(libs.plugins.kotlinMultiplatform)
    alias(libs.plugins.kotlinCocoapods)
    alias(libs.plugins.androidLibrary)
}

kotlin {
    androidTarget {
        compilations.all {
            kotlinOptions {
                jvmTarget = "1.8"
            }
        }
    }
    iosX64()
    iosArm64()
    iosSimulatorArm64()

    cocoapods {
        summary = "Some description for the Shared Module"
        homepage = "Link to the Shared Module homepage"
        version = "1.0"
        ios.deploymentTarget = "16.0"
        framework {
            baseName = "shared"
            isStatic = true
        }
    }
    
    sourceSets {
        commonMain.dependencies {
            //put your multiplatform dependencies here
        }
        commonTest.dependencies {
            implementation(libs.kotlin.test)
        }
    }
}

android {
    namespace = "com.shubhasai.helloone"
    compileSdk = 34
    defaultConfig {
        minSdk = 24
    }
}