Sorry for the series of posts, but this is the las...
# community-support
g
Sorry for the series of posts, but this is the last issue I appear to be running into:
Copy code
org.gradle.api.GradleException: Included build \my-project\build-logic has build path :build-logic which is the same as included build /my-project/build-logic
a
in your settings.gradle do you have both
includeBuild("build-logic")
and
include("build-logic")
?
g
I do not, but strangely this issue only seems to happen if I try to launch gradle tasks through the IntelliJ UI When running it via CLI with
./gradlew
it doesn't happen, so I'll consider it an IntelliJ bug -- sorry! 😓
a
huh, that's strange!
in IJ do you have 'build and run' set to 'Gradle'? Settings | Build, Execution, Deployment | Build Tools | Gradle
g
Aye, it's very odd:
a
ah, are you using WSL?
g
I am indeed
a
I think IntelliJ + Gradle + WSL isn't fully supported and has odd issues
v
Keep an eye on the path separators in the error message. Maybe somewhere is a bug there in that regard. 🤷‍♂️