Skip to content

Commit

Permalink
Fixed bug where bumpVersion gradle task scrambles chars in manual. Cl…
Browse files Browse the repository at this point in the history
…oses #118
  • Loading branch information
remkop committed May 4, 2017
1 parent 28e935e commit 344ec48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description 'Java command line parser and colorized usage help generator. In a s
version '0.9.5-SNAPSHOT'

// for bumpVersion task
def oldVersion = '0\\.9\\.4'
def oldVersion = '0\\.9\\.5-SNAPSHOT'
def oldRevdate = '2017\\-05\\-04'
def revDate = '2017-05-04'

Expand Down Expand Up @@ -75,7 +75,7 @@ artifacts {
}
task bumpVersion {
doLast {
ant.replaceregexp(match: oldVersion, replace: version, flags: 'g', byline: true) {
ant.replaceregexp(match: oldVersion, replace: version, flags: 'g', byline: true, encoding: 'UTF8') {
fileset(dir: 'src/main/java/picocli', includes: 'CommandLine.java')
fileset(dir: 'src/test/java/picocli', includes: 'CommandLineTest.java')
fileset(dir: 'docs', includes: 'index.adoc')
Expand Down

0 comments on commit 344ec48

Please sign in to comment.