mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-29 15:32:06 +01:00
build.gradle: remove OSGi leftovers
OSGi support was rapped with d06f533bb
("Drop OSGi support").
This commit is contained in:
parent
8b0de5ff85
commit
ea944a8dc6
1 changed files with 0 additions and 6 deletions
|
@ -159,12 +159,6 @@ allprojects {
|
||||||
ext.sharedManifest = manifest {
|
ext.sharedManifest = manifest {
|
||||||
attributes('Implementation-Version': version,
|
attributes('Implementation-Version': version,
|
||||||
'Implementation-GitRevision': ext.gitCommit,
|
'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-Date': ext.builtDate,
|
||||||
'Built-JDK': System.getProperty('java.version'),
|
'Built-JDK': System.getProperty('java.version'),
|
||||||
'Built-Gradle': gradle.gradleVersion,
|
'Built-Gradle': gradle.gradleVersion,
|
||||||
|
|
Loading…
Reference in a new issue