Anyone tried gradle composite builds with Kotlin p...
# gradle
t
Anyone tried gradle composite builds with Kotlin projects? I am getting:
Copy code
Caused by: org.gradle.api.UnknownDomainObjectException: Included build 'my-library' not found in build 'my-project'.
settings.gradle.kts looks something like:
Copy code
rootProject.name = "my-workspace"

includeBuild("../my-library")
includeBuild("../my-project")
v
Generally it works like a charm. Never seen such a message tbh. Do you have an MCVE?
t
Not yet. Wasn't sure if it's stable, because last time I tried I was getting messages, that it's not yet supported. Having hard time making my project debuggable(web-mpp). I can look into it over weekend and maybe I'll produce mcve, but I am 2 kotlin mcve behind now : D
m
I use composite builds + Kotlin all the time. Works well
Maybe check symlinks and/or paths?
a
been using composite builds since gradle 6.0 came out (also when I learn about composite builds). Been working like a charm to date
t
So far I failed to produce mcve. I would love to get to root of it, but I would probably need to debug IntelliJ. It happens only when syncing project.
t
@Sebastian Sellmair [JB] ping, probably you could help
s
Thanks for pinging me! Unfortunately, I can’t take this before vacation anymore. I think @Yaroslav Chernyshev [JB] might be best person here 🙂
t
@Sebastian Sellmair [JB] Would you like to take a look at the issue now?
s
Hey @Tomasz Krakowiak, unfortunately, I won’t pick this up as ‘ad-hoc’ issue, because composite builds are not yet in priority (but will become). Would you mind pointing me to a YouTrack ticket, that I can pick up and put in our queue?
t
@Sebastian Sellmair [JB] Ok, I understand. However, I haven't created YouTrack ticket yet. The problem is that despite having 2 independent projects affected, I haven't been able to figure out what causes the issue and produce MVRE. Both those projects are not open-source. I'll try again later when I get back to another project.
s
No worries! Feel free to create a “lazy” ticket with all information you have just lazily copy pasted in. I will take care of still putting it in the queue and once you have more details, just add it to the yt ticket! 🙂