Is anyone getting `Caused by: org.gradle.api.inter...
# javascript
b
Is anyone getting
Caused by: org.gradle.api.internal.tasks.DefaultTaskContainer$DuplicateTaskException: Cannot add task 'clean' as a task with that name already exists.
when specifying js flavour with 1.4.0-rc?
t
Manual removing of
.gradle
and
build
directories can help 🙂
b
Not this time 😕
t
All
build
directories
Especially in
buildSrc
b
Yep, deleted everything recursively and even tried clearing ~/.gradle
Still same issue. I simply can't get IR backend to work on rc 😀
t
And
./gradlew --stop
before clean?
1. Stop 2. Manual clean 3. Build
b
Haven't tried that one yet. Will give it a go tomorrow
Nope, still same error
I'm using KMP, java and maven-publish plugins, though. Could that be the cause?
t
Do you have
buildSrc
?
b
i do, but i fount the issue already! it was due to one of the buildscripts in the project being groovy still...
Changed all that to kotlin and we're running!
t
Insidiously! 👹