Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit 54a845c

Browse files
author
Scott Stafford
committed
Add plugin to generate dependency license report for legal
1 parent 259f943 commit 54a845c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

build.gradle

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
buildscript {
2+
repositories {
3+
jcenter()
4+
}
5+
dependencies {
6+
// For dependency license report
7+
classpath "com.smokejumperit.gradle.license:Gradle-License-Report:0.0.2"
8+
}
9+
}
10+
111
plugins {
212
id "java"
313
id "maven-publish"
@@ -6,6 +16,9 @@ plugins {
616
id "com.jfrog.bintray" version "1.5"
717
}
818

19+
// gradle dependencyLicenseReport to generate your report in build/reports/dependency-license
20+
apply plugin:'license-report'
21+
922
sourceCompatibility = "1.7"
1023
targetCompatibility = "1.7"
1124

@@ -19,6 +32,7 @@ dependencies {
1932
compile 'jaxen:jaxen:1.1.6'
2033
compile 'org.apache.httpcomponents:httpclient:4.3.5'
2134
compile 'org.springframework:spring-web:4.3.5.RELEASE'
35+
2236
testCompile ('com.marklogic:ml-junit:2.6.0') {
2337
exclude module: "ml-javaclient-util"
2438
}

0 commit comments

Comments
 (0)