Skip to content

Commit

Permalink
Merge pull request bugsnag#150 from bugsnag/license-check
Browse files Browse the repository at this point in the history
build: add license checking plugin
  • Loading branch information
fractalwrench committed Aug 16, 2019
2 parents ede5ad2 + 5526210 commit 5248de5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
File renamed without changes.
14 changes: 13 additions & 1 deletion bugsnag/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
apply plugin: 'java-library'
plugins {
id "com.github.hierynomus.license" version "0.15.0"
}

apply plugin: 'java-library'
apply from: '../common.gradle'

repositories {
Expand Down Expand Up @@ -32,3 +35,12 @@ task testJar(type: Jar) {
artifacts {
testRuntime testJar
}

// license checking
license {
header rootProject.file('LICENSE')
ignoreFailures true
}
downloadLicenses {
dependencyConfiguration "compile"
}

0 comments on commit 5248de5

Please sign in to comment.