From 9acfcf744a93558e945e2d347cfffaa299473044 Mon Sep 17 00:00:00 2001 From: Thisaru Guruge Date: Thu, 11 Feb 2021 23:46:23 +0530 Subject: [PATCH] Update build.gradle --- build.gradle | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index ad6e798..c5fcdf3 100644 --- a/build.gradle +++ b/build.gradle @@ -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