diff --git a/build.gradle b/build.gradle index 5c0f981c..0e67a66c 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,7 @@ import com.github.mgk.gradle.* buildscript { ext { - es_version = version.replaceAll(/-.+$/, "") + es_version = version.replaceAll(/\.[0-9]+(|-.+)$/, "") } repositories {