ShadowExtension

interface ShadowExtension

Properties

Link copied to clipboard

If true, publishes the ShadowJavaPlugin.SHADOW_RUNTIME_ELEMENTS_CONFIGURATION_NAME as an optional variant of the java component. This affects how consumers resolve the published artifact.

Link copied to clipboard
abstract val addTargetJvmVersionAttribute: Property<Boolean>

If true, adds a TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE attribute to the Gradle Module Metadata of the shadowed JAR. This affects how consumers resolve the published artifact based on the target JVM version.

Link copied to clipboard
abstract val bundlingAttribute: Property<String>

The Bundling attribute to use for the Gradle Module Metadata.