com.github.jengelman.gradle.plugins.shadow.relocation.Relocator.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.relocation
/**
* Modified from `org.apache.maven.plugins.shade.relocation.Relocator.java`
*
* @author Jason van Zyl
* @author John Engelman
*/
public interface Relocator {
public fun canRelocatePath(path: String): Boolean
public fun relocatePath(context: RelocatePathContext): String
public fun canRelocateClass(className: String): Boolean
public fun relocateClass(context: RelocateClassContext): String
public fun applyToSourceContent(sourceContent: String): String
public companion object {
public val ROLE: String = Relocator::class.java.name
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy