Skip to content

Commit 5248de5

Browse files
Merge pull request #150 from bugsnag/license-check
build: add license checking plugin
2 parents ede5ad2 + 5526210 commit 5248de5

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed
File renamed without changes.

bugsnag/build.gradle

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
apply plugin: 'java-library'
1+
plugins {
2+
id "com.github.hierynomus.license" version "0.15.0"
3+
}
24

5+
apply plugin: 'java-library'
36
apply from: '../common.gradle'
47

58
repositories {
@@ -32,3 +35,12 @@ task testJar(type: Jar) {
3235
artifacts {
3336
testRuntime testJar
3437
}
38+
39+
// license checking
40+
license {
41+
header rootProject.file('LICENSE')
42+
ignoreFailures true
43+
}
44+
downloadLicenses {
45+
dependencyConfiguration "compile"
46+
}

0 commit comments

Comments
 (0)