I have a project in which part of the sources is generated ( sourceGenerators in Compile). I noticed that (in most scenarios it is reasonable) these sources are not published with publishLocalor publishSigned. In this case, this is unfortunate, because when you use this project / library as a dependency, you cannot search for sources, for example, in IntelliJ, even if other project sources have been loaded.
Can I configure sbt publishing options to include generated sources in Maven -sources.jar?
source
share