acknowledge smhasher copyright but add apache license header (#159)

* acknowledge lamp/epfl copyright  but add apache license header

* scalafmt

* latest attempt

* Update LICENSE

* add Austin Appleby attribution

* remove debian check

* Update CopyrightHeader.scala

* add source license changes for MurmurHash and introduce more jar specific licenses

* scalafmt

* update comment
This commit is contained in:
PJ Fanning 2023-02-22 16:10:24 +01:00 committed by GitHub
parent 7e653454a9
commit de1a5e3b37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 678 additions and 16 deletions

View file

@ -24,11 +24,17 @@ object AddMetaInfLicenseFiles extends AutoPlugin {
apacheSonatypeDisclaimerFile := Some(baseDir.value / "DISCLAIMER"))
/**
* Settings specific for Pekko protobuf subprojects which require a different license file
* Settings specific for Pekko actor subproject which requires a different license file.
*/
lazy val actorSettings = Seq(
apacheSonatypeLicenseFile := baseDir.value / "legal" / "pekko-actor-jar-license.txt")
/**
* Settings specific for Pekko protobuf subproject which requires a different license file
* as well as an additional "COPYING.protobuf" file.
*/
lazy val protobufSettings = Seq(
apacheSonatypeLicenseFile := baseDir.value / "LICENSE") ++ inConfig(Compile)(Seq(
apacheSonatypeLicenseFile := baseDir.value / "legal" / "pekko-protobuf-jar-license.txt") ++ inConfig(Compile)(Seq(
resourceGenerators += {
Def.task {
List(
@ -36,6 +42,20 @@ object AddMetaInfLicenseFiles extends AutoPlugin {
}
}))
/**
* Settings specific for Pekko protobuf-v3 subproject which requires a different license file
* as well as an additional "COPYING.protobuf" file.
*/
lazy val protobufV3Settings = Seq(
apacheSonatypeLicenseFile := baseDir.value / "legal" / "pekko-protobuf-v3-jar-license.txt") ++ inConfig(Compile)(
Seq(
resourceGenerators += {
Def.task {
List(
SonatypeApachePlugin.addFileToMetaInf(resourceManaged.value, baseDir.value / "COPYING.protobuf"))
}
}))
override def trigger = allRequirements
override def requires = SonatypeApachePlugin