Skip to content

Commit

Permalink
Update build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisaruGuruge authored Feb 11, 2021
1 parent 965c016 commit 9acfcf7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,7 @@ subprojects {
apply plugin: 'java'
}

def moduleVersion = project.version
if (moduleVersion.indexOf('-') != -1) {
moduleVersion = moduleVersion.substring(0, moduleVersion.indexOf('-'))
}
def moduleVersion = project.version.replace("-SNAPSHOT", "")

release {
failOnPublishNeeded = false
Expand Down

0 comments on commit 9acfcf7

Please sign in to comment.