Skip to content

Commit

Permalink
Added dynamic version
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyjams committed Dec 21, 2017
1 parent 07daaf3 commit 9339666
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ task copyMiscToDist(type: Copy) {

into("/lib") {
from(build + '/libs')
include('xtremweb-11.5.0.jar')
rename('xtremweb-11.5.0.jar', 'xtremweb.jar')
include('xtremweb-' + version + '.jar')
rename('xtremweb-' + version + '.jar', 'xtremweb.jar')
}
}

Expand Down Expand Up @@ -399,7 +399,7 @@ task copyMacServer(type: Copy) {

into("/Applications/xwhep.server/conf"){
from templates + '/xtremweb.server.conf.in'
rename { fileName -> fileName.replace('xtremweb.client.server.in', 'xtremweb.server.conf') }
rename { fileName -> fileName.replace('xtremweb.server.conf.in', 'xtremweb.server.conf') }
filter(ReplaceTokens, tokens: [LAUNCHERURL: 'http://nohost/',
KEYDIR : privateEtc + '/xwhep.server',
DEFAULTUSER : '',
Expand All @@ -412,9 +412,10 @@ task copyMacServer(type: Copy) {
}

into(privateEtc + "/xwhep.server/lib") {
from(libXtremWeb)
include('bcprov-jdk15on-151.jar')
include('bcpkix-jdk15on-151.jar')
from(dist + '/lib')
//include('bcprov-jdk15on-151.jar')
//include('bcpkix-jdk15on-151.jar')
//include('xtremweb.jar')
}
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=11.5.0
version=12.0.1

0 comments on commit 9339666

Please sign in to comment.