sbt-typelevel icon indicating copy to clipboard operation
sbt-typelevel copied to clipboard

auto-detect and set `licenses` sbt setting based on `LICENSE` or `LICENSE.txt` file

Open armanbilge opened this issue 2 years ago • 1 comments

Currently it is defaulted to Apache. https://github.com/typelevel/sbt-typelevel/blob/2e825717aa73582cc5ac4e79021b9a479bec40c4/core/src/main/scala/org/typelevel/sbt/TypelevelPlugin.scala#L65

armanbilge avatar Jun 29 '23 17:06 armanbilge

It's doable from the github api, if nothing else https://docs.github.com/en/rest/licenses/licenses?apiVersion=2022-11-28#get-the-license-for-a-repository

Daenyth avatar Jun 29 '23 17:06 Daenyth