Closed satorg closed 1 year ago
Need to work out CI build errors, so converting to Draft for now :(
The approach seems fine to me, but if it simplifies things, I think the important factors is that Rickard maintains the copyright and the BSD3 license is preserved. If there's a built-in config that satisfies that, it seems alright to me.
The approach seems fine to me, but if it simplifies things, I think the important factors is that Rickard maintains the copyright and the BSD3 license is preserved. If there's a built-in config that satisfies that, it seems alright to me.
There's BSD3 build-in header for sure, but it does not have any mention regards to Rickard.
My reasoning is that the current approach I'm suggesting does not make things worse – i.e. it incorporates sbt-header, but still keeps the headers the same way. So that we can work out the exact headers content in one of the follow up steps.
So basically I'm just trying to eat that mammoth up in parts rather than trying to swallow the whole thing at once :)
Seems good to go now.
This PR should technically precede #950. Initially my intent was to just introduce scalafmt in here, but then I realized that it would be easier if we would have the sbt-header incorporated first. So here this PR is.
A couple of things to mention:
project/CustomHeaderPlugin.scala
.project
dir). However, scalacheck hasproject/codegen.scala
along with the aforementionedCustomHeaderPlugin.scala
. So I plugged them in to the sbt-header inbuild.sbt
(see settings for theroot
project).