com.github.jengelman.gradle.plugins.shadow.ShadowExtension.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shadow-gradle-plugin Show documentation
Show all versions of shadow-gradle-plugin Show documentation
Gradle plugin to create fat/uber JARs, apply file transforms, and relocate packages for applications and libraries. Gradle version of Maven's Shade plugin.
package com.github.jengelman.gradle.plugins.shadow
import org.gradle.api.Project
import org.gradle.api.publish.maven.MavenPublication
@Deprecated("This is deprecated since 8.3.2")
public abstract class ShadowExtension(project: Project) {
private val components = project.components
@Deprecated("configure publication using component.shadow directly.")
public fun component(publication: MavenPublication) {
publication.from(components.findByName(ShadowBasePlugin.COMPONENT_NAME))
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy