Dylan Bolger
05/17/2024, 3:27 PM.class
files. We have another module that currently consumes a jar
that has these classes (non-Spring Boot ones, our implementation). We'd like to remove the need to create a jar for the war project's classes and share the output from that module a different way. I was thinking a fileTree reference to the output classes directory might be a way of doing it, but if there's a better way of doing this, I think I'm overlooking it. What is the best way of going about this? I read up on sharing outputs from projects by creating a consumable configuration but I think that would be sharing a .jar or a .war. Sharing a .war would be okay, but from my understanding, I don't think you can depend on a .war.Dylan Bolger
05/17/2024, 3:30 PMAdam
05/17/2024, 3:38 PMAdam
05/17/2024, 3:39 PMAdam
05/17/2024, 3:39 PMDylan Bolger
05/17/2024, 3:47 PM{projectname}-war
, as an org standard we have in place (in most places not all). I agree with that approach in general, but for our situation I think it's going to cause more confusionDylan Bolger
05/17/2024, 3:55 PMwar
file. There isn't currently a case where the jar
being produced would be consumed by any other external project outside of this repo.