Skip to content

Commit

Permalink
Tweak error in gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
sue445 committed Jan 11, 2016
1 parent 23fffba commit a8c1487
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ task tagRelease << {

task checkVersion << {
if(version.endsWith("-SNAPSHOT")){
logger.error "################### Remove -SNAPSHOT ! ###################"
throw "Remove -SNAPSHOT !"
throw new GradleException("Remove '-SNAPSHOT' in version!")
}
}

Expand Down

0 comments on commit a8c1487

Please sign in to comment.