Skip to content

Commit

Permalink
Merge pull request #86 from keizer619/master
Browse files Browse the repository at this point in the history
Move lib directory into zip
  • Loading branch information
Suganya authored Feb 12, 2021
2 parents 8014567 + 730dfd7 commit df5ab49
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@ jar {
}
}

CopySpec copyJarSpec = copySpec {
from ('build/libs')
into('/lib')
}

task copyBin(type: Copy) {
from file("resources/bin")
into file("build/resources/bin")
Expand All @@ -54,11 +49,16 @@ task copyScripts(type: Copy) {
filter(org.apache.tools.ant.filters.ReplaceTokens, tokens: ["version": version])
}

task copyLib(type: Copy) {
from file("build/libs")
into file("build/resources/lib")
}

task createZip(type:Zip) {
dependsOn jar
dependsOn copyBin
dependsOn copyScripts
with copyJarSpec
dependsOn copyLib
from ('build/resources')
into(project.name + "-" + project.version)
destinationDir file('build')
Expand Down

0 comments on commit df5ab49

Please sign in to comment.