Hey I have used the default template available in ...
# javascript
m
Hey I have used the default template available in Android Studio for Kotlin Multiplatform Library and just added support for Javascript:
Copy code
js(IR) {
  browser()
  binaries.executable()
}
But the build fails immediately with the error:
Copy code
Caused by: org.gradle.api.internal.tasks.DefaultTaskContainer$DuplicateTaskException: Cannot add task 'clean' as a task with that name already exists.
I’m not sure how to approach this, has anyone encountered a similar error? Gradle version: 7.3.3
e
Yes I had that problem too. I removed the "clean" task definition from the root level build.gradle.kts file. Didn't notice any problems by removing that.
1
m
That helped 👍 thanks man!
e
Np 🙂