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

com.github.jengelman.gradle.plugins.shadow.relocation.RelocateClassContext.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

import com.github.jengelman.gradle.plugins.shadow.ShadowStats

public data class RelocateClassContext(
  val className: String,
  val stats: ShadowStats,
) {
  public class Builder {
    private var className = ""
    private var stats = ShadowStats()

    public fun className(className: String): Builder = apply { this.className = className }
    public fun stats(stats: ShadowStats): Builder = apply { this.stats = stats }
    public fun build(): RelocateClassContext = RelocateClassContext(className, stats)
  }

  public companion object {
    @JvmStatic
    public fun builder(): Builder = Builder()
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy