Skip to content

Commit

Permalink
publish fat jar
Browse files Browse the repository at this point in the history
  • Loading branch information
kozarezvlad committed Sep 17, 2024
1 parent 339bf84 commit 7689d9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jar {
}

task fatJar(type: Jar) {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
manifest {
attributes('Implementation-Title': 'ic4j-agent',
'Implementation-Version': project.version)
Expand Down
3 changes: 2 additions & 1 deletion upload-github.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ afterEvaluate {
artifactId = "$project.artifactId"
version = "$project.artifactVersion"

from components.java
artifact fatJar
// from components.java

pom.withXml {
Node pomNode = asNode()
Expand Down

0 comments on commit 7689d9f

Please sign in to comment.