All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.jengelman.gradle.plugins.shadow.relocation.Relocator.kt Maven / Gradle / Ivy

Go to download

Gradle plugin to create fat/uber JARs, apply file transforms, and relocate packages for applications and libraries. Gradle version of Maven's Shade plugin.

There is a newer version: 9.0.0-beta4
Show newest version
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