com.github.jengelman.gradle.plugins.shadow.tasks.ShadowSpec.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.tasks
import com.github.jengelman.gradle.plugins.shadow.ShadowStats
import com.github.jengelman.gradle.plugins.shadow.internal.DependencyFilter
import com.github.jengelman.gradle.plugins.shadow.relocation.Relocator
import com.github.jengelman.gradle.plugins.shadow.relocation.SimpleRelocator
import com.github.jengelman.gradle.plugins.shadow.transformers.ServiceFileTransformer
import com.github.jengelman.gradle.plugins.shadow.transformers.Transformer
import java.lang.reflect.InvocationTargetException
import org.gradle.api.Action
import org.gradle.api.file.CopySpec
public interface ShadowSpec : CopySpec {
public fun minimize(): ShadowSpec
public fun minimize(action: Action?): ShadowSpec
public fun dependencies(action: Action?): ShadowSpec
@Throws(
InstantiationException::class,
IllegalAccessException::class,
NoSuchMethodException::class,
InvocationTargetException::class,
)
public fun transform(clazz: Class): ShadowSpec
@Throws(
InstantiationException::class,
IllegalAccessException::class,
NoSuchMethodException::class,
InvocationTargetException::class,
)
public fun transform(clazz: Class, action: Action?): ShadowSpec
public fun transform(transformer: Transformer): ShadowSpec
public fun mergeServiceFiles(): ShadowSpec
public fun mergeServiceFiles(rootPath: String): ShadowSpec
public fun mergeServiceFiles(action: Action?): ShadowSpec
public fun mergeGroovyExtensionModules(): ShadowSpec
public fun append(resourcePath: String): ShadowSpec
public fun relocate(pattern: String, destination: String): ShadowSpec
public fun relocate(pattern: String, destination: String, action: Action?): ShadowSpec
public fun relocate(relocator: Relocator): ShadowSpec
@Throws(
InstantiationException::class,
IllegalAccessException::class,
NoSuchMethodException::class,
InvocationTargetException::class,
)
public fun relocate(clazz: Class): ShadowSpec
@Throws(
InstantiationException::class,
IllegalAccessException::class,
NoSuchMethodException::class,
InvocationTargetException::class,
)
public fun relocate(clazz: Class, action: Action?): ShadowSpec
public val stats: ShadowStats
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy