Skip to content

Commit

Permalink
don't distribute "provided" jars
Browse files Browse the repository at this point in the history
  • Loading branch information
slominskir committed May 25, 2022
1 parent a4e48d8 commit 02e40e2
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,13 @@ distributions {
main {
contents {
from jar
from (project.configurations.runtimeClasspath)
from("build/reports/dependency-license") {
into "dependency-license"

/*We only include jars not already provided in Kafka/libs dir*/
/*Example, we exclude log4j, slf4j, jackson, kafka */
from (project.configurations.runtimeClasspath).with {
include('epics2kafka*')
include('kafka-common*')
include('jca*')
}
}
}
Expand Down

0 comments on commit 02e40e2

Please sign in to comment.