Hello! Is it possible for compilation to depend on...
# multiplatform
p
Hello! Is it possible for compilation to depend on other compilation (not sourceset) in the same module?
k
for what?
p
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.
Target is to have, for example, api.jar, client.jar and server.jar as output artifacts of one gradle module.