Closed steelxt closed 5 years ago
+1
Solved. I was applying some plugins in gradle.build.kts parent, It seems to be working only applying local build files with.
In addition, check order of plugins
my config was (and it fails)
apply plugin: 'org.jetbrains.kotlin.frontend'
apply plugin: 'kotlin-platform-js'
apply plugin: 'kotlinx-serialization'
Order below works
apply plugin: 'kotlin-platform-js'
apply plugin: 'kotlinx-serialization'
apply plugin: 'org.jetbrains.kotlin.frontend'
despite #142 warn about must include kotlin plugin first I'm getting:
Extension with name 'kotlin' does not exist. Currently registered extension names: [ext, defaultArtifacts, reporting, sourceSets, java]
yes I have settings setup :
`pluginManagement {
}`
but I'm using build.gradle.kts in my sub project:
plugins { id("kotlin2js") id("org.jetbrains.kotlin.frontend") version "0.0.45" }
without no luck, can you help and guide my to right direction?