diff --git a/build.gradle b/build.gradle index 117cf8a7d..8309cadc6 100644 --- a/build.gradle +++ b/build.gradle @@ -159,12 +159,6 @@ allprojects { ext.sharedManifest = manifest { attributes('Implementation-Version': version, 'Implementation-GitRevision': ext.gitCommit, - // According to OSGi core 5.0 section 3.2.5 the qualifier (the fourth - // version element) must begin with a dot. So we replace only the - // first occurence of an dash with a dot. - // For example 4.0.0-rc1 becomes 4.0.0.rc1, but - // 4.0.0-SNAPSHOT-2014-05-01 becomes 4.0.0.SNAPSHOT-2014-05-01 - 'Bundle-Version': version.replaceFirst("-", "."), 'Built-Date': ext.builtDate, 'Built-JDK': System.getProperty('java.version'), 'Built-Gradle': gradle.gradleVersion,