dave08
06/16/2021, 3:25 PMimplementation(project(":legacy:domain"))
implementation(project(":domain"))
Vampire
06/16/2021, 3:53 PMdave08
06/16/2021, 5:19 PMdave08
06/16/2021, 5:21 PM:new:domain
Vampire
06/17/2021, 7:12 AM<root>
to :new
. But they would still have the same group and name and thus would still be considered the same by resolution engine. As I said, you have to either change the group or the name of one of those. You can also use the tasks :domain:outgoingVariants
and :legacy:domain:outgoingVariants
to see it.dave08
06/17/2021, 9:32 AMdave08
06/17/2021, 9:32 AMVampire
06/17/2021, 9:36 AMproject
, so a mere group = "..."
in the build script configures it.
Besides that I'm not a fan of fat jars, how you package it does not matter.
They are separate projects, so they need to be uniquely identifiable using their group and name.
So either rename one of them, for example to :legacy:legacy-domain
, or set a different group, so that the ID (group / name) of the two project is distinct.dave08
06/17/2021, 10:08 AM