Hello! Is it possible for compilation to depend on other compilation (not sourceset) in the same module?
k
Konstantin Tskhovrebov
09/09/2022, 9:51 AM
for what?
p
PHondogo
09/09/2022, 9:55 AM
For example if two jvm compilations depend on one sourceset, each compilation will have same classes from that sourceset in resulting jar. In case of they depend on compilation there will be three resulting jars without duplicates. And I want to avoid creating additional module for that shared compilation.
PHondogo
09/09/2022, 9:57 AM
Target is to have, for example, api.jar, client.jar and server.jar as output artifacts of one gradle module.