com.github.jengelman.gradle.plugins.shadow.relocation.RelocatePathContext.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
import com.github.jengelman.gradle.plugins.shadow.ShadowStats
public data class RelocatePathContext(
val path: String,
val stats: ShadowStats,
) {
public class Builder {
private var path = ""
private var stats = ShadowStats()
public fun path(path: String): Builder = apply { this.path = path }
public fun stats(stats: ShadowStats): Builder = apply { this.stats = stats }
public fun build(): RelocatePathContext = RelocatePathContext(path, stats)
}
public companion object {
@JvmStatic
public fun builder(): Builder = Builder()
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy