You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "stevedlawrence (via GitHub)" <gi...@apache.org> on 2026/02/18 15:58:07 UTC

[PR] Enable `src/{main,test}/scala-XYZ` crossPath directories [daffodil-sbt]

stevedlawrence opened a new pull request, #162:
URL: https://github.com/apache/daffodil-sbt/pull/162

   The plugin currently adds `src/{main,test}/scala-daffodil-X.Y.Z/` directories as source directories as a way to have daffodil version specific code to support building and testing with multiple daffodil versions.
   
   However, most of the time Daffodil differences can be generalized into Scala binary differences, so it would be more useful to use `src/{main,test}/scala-{2.12,2.13,3}/` directories. Though we currently disable those by setting `crossPaths := false`.
   
   The intention of setting `crossPaths` to false was to remove the scala binary version compatibility versions from jars, since that information isn't needed and just adds extra complexity to jars and dependencies. To keep this behavior, but to add support for cross paths added by SBT, this instead sets `crossPaths := true` and set `crossVersions` to disabled. This also removes the scala-XYZ cross path from target directories to maintain old behavior.
   
   Closes #161


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Enable `src/{main,test}/scala-XYZ` crossPath directories [daffodil-sbt]

Posted by "stevedlawrence (via GitHub)" <gi...@apache.org>.
stevedlawrence merged PR #162:
URL: https://github.com/apache/daffodil-sbt/pull/162


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org