Skip to content

Commit

Permalink
use $buildDir instead of the explicit folder 'build'
Browse files Browse the repository at this point in the history
  • Loading branch information
ahadas committed Sep 23, 2016
1 parent 3fe9f4b commit 7c8e996
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ task nsis(dependsOn: createExe) {

// Unix packaging
task tgz(dependsOn: shadowJar, type: Tar) {
from ('build/libs') {
from ("$buildDir/libs") {
include '*.jar'
rename '(.*?)-.*.jar','$1.jar'
}
Expand All @@ -185,11 +185,11 @@ task tgz(dependsOn: shadowJar, type: Tar) {

// Portable packaging
task portable(type: Tar) {
from ('build/libs') {
from ("$buildDir/libs") {
include '*.jar'
rename '(.*?)-.*.jar','$1.jar'
}
from ('build/launch4j') {
from ("$buildDir/launch4j") {
include '*.exe'
rename '(.*?)-.*.exe','$1.exe'
}
Expand All @@ -215,7 +215,7 @@ buildDeb {
recommends('java-virtual-machine')
recommends('java2-runtime')

from ('build/libs') {
from ("$buildDir/libs") {
include '*.jar'
rename '(.*?)-.*.jar','$1.jar'
}
Expand Down Expand Up @@ -248,7 +248,7 @@ buildRpm {
recommends('java2-runtime')
os = LINUX

from ('build/libs') {
from ("$buildDir/libs") {
include '*.jar'
rename '(.*?)-.*.jar','$1.jar'
}
Expand Down

0 comments on commit 7c8e996

Please sign in to comment.