how do i compile my plugin with kotlin multiplatfo...
# gradle
s
how do i compile my plugin with kotlin multiplatform as i get
> Plugin with id 'kpp' not found.
my
buildSrc/build.gradle.kts
is
Copy code
plugins {
    kotlin("multiplatform") version "1.3.21"
}

repositories {
    jcenter()
    mavenCentral()
}

kotlin {
    jvm {
        val main by compilations.getting {
            kotlinOptions {
                // Setup the Kotlin compiler options for the 'main' compilation:
                jvmTarget = "1.8"
            }

            compileKotlinTask // get the Kotlin task 'compileKotlinJvm'
            output // get the main compilation output
        }

        compilations["test"].runtimeDependencyFiles // get the test runtime classpath
    }

    // Configure all compilations of all targets:
    targets.all {
        compilations.all {
            kotlinOptions {
                allWarningsAsErrors = true
            }
        }
    }
}
g
Looks that it is not a full context, plugin kpp is not applied here, so most probably problem somewhere else