stevedlawrence opened a new issue, #129:
URL: https://github.com/apache/daffodil-sbt/issues/129

   When building plugins written in java, .class files will be compiled to 
support the version of java used to build them. For example, if you build Java 
plugin on Java 17, that plugin can only be used on Java 17, even though older 
versions of Daffodil support Java 8. Similiar issues can also potentially 
happen for Scala. This can especially be an issue when cross compiling, since 
compiling plugins targeting Daffodil 4.0.0 must be built on Java 17.
   
   We should modify `scalacOptions` and `javacOptions` so that they set the the 
target of class files to either 8 or 17 depending on the Daffodil version. This 
way plugins are guaranteed to be able to run anywhere the targeted version of 
Daffodil can run.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to