Damiano Giusti
04/04/2020, 7:47 PMCould not find method npm() for arguments [cheerio] on object of type org.jetbrains.kotlin.gradle.plugin.mpp.DefaultKotlinDependencyHandler.
I’m using the Groovy DSLp2000t
04/05/2020, 12:27 PMkotlin {
sourceSets["jsMain"].dependencies {
implementation(npm("cheerio","1.2.3"))
}
}
For more details, see: https://discuss.kotlinlang.org/t/npm-dependencies-with-kotlin-1-3-40/13174Damiano Giusti
04/05/2020, 12:27 PM