Closed mattChiaravalloti closed 2 years ago
I'm ambivalent about the license headers in
demo
andsmoketest
, and I'm also not totally sure what the java ecosystem convention would be here.
I think we can leave it. I don't know of a specific convention regarding test apps. In my experience, most of the time the header is just added de-facto to any new file in the project.
evergreen merge
This PR adds the apache 2.0 license to the repo, along with copyright headers to all source code files. It looks like the release already includes the license. I updated
spotless
to handle this for us. Now,spotlessCheck
will fail if a source file does not start with a license header, andspotlessApply
will write the header for us whenever it is missing.Open Question Should the header be added to the java files in
demo
andsmoketest
? If so, should that also be done throughspotless
? Right now, those directories are not inspected byspotless
, so I think I'd have to update theirgradle.build
files and probably update the evergreen task to check those as well.