I’ve tried looking for a solution for this everywh...
# intellij
p
I’ve tried looking for a solution for this everywhere but can’t find anything. I have a KMP project using gradle. When I import it into intelliJ I get the following error:
Copy code
Task 'assemble' not found in root project
On gradle there seems to have zero problems. Not sure why it’s trying to run the assemble task 🙃 This is the gradle output from IntelliJ: https://gist.github.com/pablisco/02a76c227e95766e1407a375679328a9 The project is: https://github.com/pablisco/virustrend What am I doing wrong? 😅
w
I tried your project in IntelliJ 2020.1 and it imported successfully:
What usually helps me with similar issues is clearing the repo directory with
git clean -fxdn
(this previews what will be deleted, drop
n
to actually delete stuff) and opening
settings.gradle.kts
file in Intellij and choosing
open as project
in the prompt
p
Yeah, I’m trying going nuclear 🙂
Ok, in the end the problem was with the way that I had the modules set up. I had a module depend on a sub module and IntelliJ went gaga 😅