fix(build): Do not set Implementation-Version in test JAR if already set to a valid version
MODIFY
gate-web/gate-web.gradle
gate-web/gate-web.gradle
@@ -88,9 +88,14 @@ test {
//assertions can be made against the version (see gate-plugins-test, for example).
jar {
manifest {
+ String implementationVersion = getAttributes()["Implementation-Version"]
+ if (implementationVersion == null
+ || implementationVersion.isEmpty()
+ || implementationVersion == "undefined") {
attributes(
'Implementation-Version': '1.0.0'
)
}
}
}
+}

fix(build): Do not set Implementation-Version in test JAR if already set to a valid version (#1244)