-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
40 lines (28 loc) · 954 Bytes
/
build.gradle
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
28
29
30
31
32
33
34
35
36
37
38
39
40
import com.github.jk1.license.filter.LicenseBundleNormalizer
import com.github.jk1.license.render.InventoryHtmlReportRenderer
plugins {
id 'java'
id 'com.palantir.git-version' version '3.0.0'
id 'com.github.jk1.dependency-license-report' version '2.5'
}
apply from: "versions.gradle"
sourceCompatibility = versions.javaTarget
targetCompatibility = versions.javaTarget
repositories {
mavenCentral()
}
allprojects {
group 'com.malte3d.suturo'
version = gitVersion()
}
licenseReport {
outputDir = "${project.buildDir}/license-report/licenses"
projects = [project] + project.subprojects
configurations = ['runtimeClasspath']
excludeGroups = []
excludes = []
excludeOwnGroup = true
excludeBoms = true
filters = [new LicenseBundleNormalizer(bundlePath: "${project.rootDir}/dependency-license-bundle.json")]
renderers = [new InventoryHtmlReportRenderer('dependency-license-report.html')]
}