Skip to content

Commit

Permalink
Merge pull request #163 from fauna/zip-build-task
Browse files Browse the repository at this point in the history
Add a build task to bundle the jar with deps
  • Loading branch information
findgriffin authored Nov 1, 2024
2 parents cbd2fc4 + 0db26b3 commit adf0495
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,13 @@ task writeProps(type: WriteProperties) {
property('name', project.name)
property('group', project.group)
}

tasks.register('packageJar', Zip) {
into('lib') {
from(tasks.jar)
from(configurations.runtimeClasspath)
}
}

processResources.dependsOn(writeProps)
sourcesJar.dependsOn(writeProps)

0 comments on commit adf0495

Please sign in to comment.