mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
46fb7c026c
This commit also replaces Arch Unit packageInfoShouldBeNullMarked() rule by either configuring requireExplicitNullMarking = false when the whole module does not have JSpecify annotations, or explicit @NullUnmarked when some have and some don't. See gh-36054
16 lines
474 B
Groovy
16 lines
474 B
Groovy
description = "Spring Instrument"
|
|
|
|
jar {
|
|
manifest.attributes["Premain-Class"] =
|
|
"org.springframework.instrument.InstrumentationSavingAgent"
|
|
manifest.attributes["Agent-Class"] =
|
|
"org.springframework.instrument.InstrumentationSavingAgent"
|
|
manifest.attributes["Can-Redefine-Classes"] = "true"
|
|
manifest.attributes["Can-Retransform-Classes"] = "true"
|
|
manifest.attributes["Can-Set-Native-Method-Prefix"] = "false"
|
|
}
|
|
|
|
nullability {
|
|
requireExplicitNullMarking = false
|
|
}
|