Fix missing spring-instrument jar manifest entry

The spring-intstrument jar should have a 'Premain-Class:' manifest
entry in order to enable use as a Java agent. This entry was present in
versions 3.1.1 and earlier, but due to build infrastructure changes
starting in 3.2.x this entry was missed. It is now back in place as
expected.

Issue: SPR-9458
master
Chris Beams 12 years ago
parent 94f839329e
commit 706da4f7c2
  1. 4
      build.gradle

@ -183,6 +183,10 @@ project('spring-instrument') {
dependencies { dependencies {
compile project(":spring-core") compile project(":spring-core")
} }
jar {
manifest.attributes['Premain-Class'] =
'org.springframework.instrument.InstrumentationSavingAgent'
}
} }
project('spring-instrument-tomcat') { project('spring-instrument-tomcat') {

Loading…
Cancel
Save