Skip to content

Commit

Permalink
Remove DEPENDENCIES file and add LICENSE.txt to okapi-shade jar
Browse files Browse the repository at this point in the history
Co-authored-by: Mats Rydberg <mats@neotechnology.com>
  • Loading branch information
s1ck and Mats-SX committed Jun 3, 2019
1 parent 5120d5c commit ae08812
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.gradle
Expand Up @@ -86,6 +86,10 @@ subprojects {
}
}

task licenseFile {
outputs.file(project.parent.file('LICENSE.txt'))
}

task dependencySearch(type: DependencyInsightReportTask) {
description 'Searches all projects for a dependency'
group 'help'
Expand Down
3 changes: 3 additions & 0 deletions okapi-shade/build.gradle
Expand Up @@ -69,7 +69,10 @@ shadowJar {
exclude "META-INF/services/**/*"
exclude "META-INF/NOTICE*"
exclude "META-INF/LICENSE*"
exclude "META-INF/DEPENDENCIES*"
exclude "utf8.json"

metaInf { from tasks.licenseFile }
}

assemble.dependsOn shadowJar

0 comments on commit ae08812

Please sign in to comment.