This message was deleted.
# dependency-management
s
This message was deleted.
j
Thanks for the link, interesting read. As for the final post in the thread, seems quite complicated, and can’t directly copy as my project is still on Groovy DSL. Any ideas on whether this is just an oversight or by design?
v
I don't like the final post tbh. "oversight or by design" should be clear from the thread, shouldn't it?
j
Yes sorry, just read the post before in more detail where extends are setup for main
test
suite only. However, I think your reply in this thread is essentially what I tried in my second code block?
v
Not really. You extend
implementation
so you inherit all dependencies declared on
implementation
which does not include the project classes. In my post in that thread it extends
testImplementation
which has a dependency on the project classes and thus you inherit this dependency too. But doing that is not idiomatic as I interpret the answers of the Gradle guys. :-)
j
Aha makes sense, will give it a try, thanks 👍
That did the trick, at least compiling now. Appreciate it may not be idiomatic, but it’s progress. Cheers @Vampire
👌 1