-
Notifications
You must be signed in to change notification settings - Fork 0
/
licenses.sbt
27 lines (17 loc) · 1.03 KB
/
licenses.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
licenses in GlobalScope += "Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.html")
startYear := Some(2015)
headerLicense := Some(HeaderLicense.ALv2("2015", "California Institute of Technology (\"Caltech\").\nU.S. Government sponsorship acknowledged."))
import com.typesafe.sbt.license.{LicenseInfo, DepModuleInfo}
// Used to name the report file, and in the HTML/Markdown as the title.
licenseReportTitle := "LicenseReportOfAggregatedSBTPluginsAndLibraries"
licenseSelection += LicenseCategory("EPL", Seq("Eclipse Public License"))
// Add style rules to the report.
licenseReportStyleRules := Some("table, th, td {border: 1px solid black;}")
// The ivy configurations we'd like to grab licenses for.
licenseConfigurations := Set("compile", "provided")
// Override the license information from ivy, if it's non-existent or wrong
licenseOverrides := {
case DepModuleInfo("com.jsuereth", _, _) =>
LicenseInfo(LicenseCategory.BSD, "BSD-3-Clause", "http://opensource.org/licenses/BSD-3-Clause")
}
licenseReportTypes := Seq(Html)