title: Kotlin gradle Could not initialize class org.jetbrains.kotlin.gradle.internal.KotlinSourceSetProviderImplKt
body: <p>I tried to use gradle for transpiling Kotlin to Js. When I run the example from <a href="https://www.codeflow.site/fr/article/kotlin-javascript" rel="noreferrer">https://www.codeflow.site/fr/article/kotlin-javascript</a> I got the error :
  <em>Could not initialize class org.jetbrains.kotlin.gradle.internal.KotlinSourceSetProviderImplKt</em> which comes from line <em>apply plugin: 'kotlin2js'</em> of <em>build.gradle</em>.</p>
  
  <p>I have no idea of what the missing class is and why kotlin2js is asking for it. Any suggestion ?</p>