mirror of
https://github.com/Guardsquare/proguard.git
synced 2026-03-13 09:50:34 +08:00
Add multi-release: true to jar artifcats
Required, due to log4j2 included in ProGuardCORE 8.0.0
This commit is contained in:
@@ -40,6 +40,7 @@ task fatJar(type: ShadowJar) {
|
||||
manifest {
|
||||
attributes(
|
||||
'Manifest-Version': '1.0',
|
||||
'Multi-Release': true,
|
||||
'Implementation-Version': archiveVersion.get())
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,7 +42,13 @@ dependencies {
|
||||
}
|
||||
}
|
||||
|
||||
jar.manifest.attributes('Implementation-Version': version)
|
||||
jar {
|
||||
manifest {
|
||||
attributes(
|
||||
'Multi-Release': true,
|
||||
'Implementation-Version': archiveVersion.get())
|
||||
}
|
||||
}
|
||||
|
||||
// Early access automatic downloads are not yet supported:
|
||||
// https://github.com/gradle/gradle/issues/14814
|
||||
|
||||
@@ -41,6 +41,7 @@ task fatJar(type: ShadowJar) {
|
||||
attributes(
|
||||
'Manifest-Version': '1.0',
|
||||
'Main-Class': 'proguard.gui.ProGuardGUI',
|
||||
'Multi-Release': true,
|
||||
'Implementation-Version': archiveVersion.get())
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,6 +27,7 @@ task fatJar(type: ShadowJar) {
|
||||
manifest {
|
||||
attributes(
|
||||
'Main-Class': 'proguard.ProGuard',
|
||||
'Multi-Release': true,
|
||||
'Implementation-Version': archiveVersion.get())
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,6 +38,7 @@ task fatJar(type: ShadowJar) {
|
||||
manifest {
|
||||
attributes(
|
||||
'Manifest-Version': '1.0',
|
||||
'Multi-Release': true,
|
||||
'Main-Class': 'proguard.retrace.ReTrace')
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user