mdedetrich opened a new pull request, #97:
URL: https://github.com/apache/incubator-pekko-sbt-paradox/pull/97

   This PR does 2 things, the first is it makes the project target JDK 1.8 and 
the second is that it makes the publish step be generated by sbt-github-actions 
rather than manually.
   
   First thing to note is that even though this project is being changed to 
target JDK 1.8 (which is actually what we use to generate docs currently) its 
still perfectly possible to use the exact same binary with JDK 11+, you just 
need to add the newer sbt-paradox/sbt-paradox-theme versions (see 
https://github.com/sbt/sbt-paradox-material-theme/blob/main/src/main/paradox/getting-started.md#getting-started
 for more info). Note that it is actually intended that 
sbt-paradox-material-theme will continue targeting JDK 1.8/sbt-paradox 0.9.2 
until its actually forced to update the version of sbt-paradox (i.e. 
sbt-paradox/sbt-paradox-theme will add some incompatible API which 
sbt-paradox-material-theme will need to use).
   
   Changing the build to target JDK 1.8 was necessary in order to use 
sbt-github-actions to handle publishing (before this was a manual github 
workflow file). This is because sbt-github-actions uses the first value of 
`githubWorkflowJavaVersions` for publishing and since sbt-paradox 0.10.6 
**ONLY** works with JDK 11+ it makes sense to both test for JDK 1.8 and use JDK 
1.8 for publishing.
   
   tl;dr
   - Project was changed to target JDK 1.8 but it will have no impact if 
projects that want to use JDK 11+, they just need to follow [these 
instructions](https://github.com/sbt/sbt-paradox-material-theme/blob/main/src/main/paradox/getting-started.md#getting-started)
   - sbt-github-actions will now also handle snapshot publishing, it will 
however not pubish when tags are pushed.


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to