Package com.ljarocki.shadedjar
Interface PackParams
- All Superinterfaces:
org.gradle.workers.WorkParameters
public interface PackParams
extends org.gradle.workers.WorkParameters
Parameters for packing one source (a dependency jar or a classes directory).
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gradle.workers.WorkParameters
org.gradle.workers.WorkParameters.None -
Method Summary
Modifier and TypeMethodDescriptionorg.gradle.api.provider.SetProperty<String> minimize()'s drop set (seeMinimizer): internal (slash-form) names of classes to omit entirely, computed once byFatJarTaskbefore the parallel packing phase.org.gradle.api.provider.Property<Integer> getLevel()DEFLATE level, or -1 for the zlib default (matches Gradle's stock Zip).org.gradle.api.file.DirectoryPropertyPersistent cross-build cache directory (seePackCache); optional — absent disables caching for this source.org.gradle.api.file.RegularFilePropertygetPart()Output part file this worker writes.Exclude patterns per relocation, same shape asgetRelocationIncludes().Include patterns per relocation, keyed by the same prefix asgetRelocations().Package relocations (source dotted prefix -> shaded dotted prefix); empty = fat jar.org.gradle.api.file.RegularFilePropertyThe source jar file or classes/resource directory.org.gradle.api.provider.Property<Boolean> getStore()When true, STORE every entry instead of DEFLATE (fastest, larger output).
-
Method Details
-
getSource
org.gradle.api.file.RegularFileProperty getSource()The source jar file or classes/resource directory. -
getPart
org.gradle.api.file.RegularFileProperty getPart()Output part file this worker writes. -
getLevel
org.gradle.api.provider.Property<Integer> getLevel()DEFLATE level, or -1 for the zlib default (matches Gradle's stock Zip). -
getStore
org.gradle.api.provider.Property<Boolean> getStore()When true, STORE every entry instead of DEFLATE (fastest, larger output). -
getRelocations
Package relocations (source dotted prefix -> shaded dotted prefix); empty = fat jar. -
getRelocationIncludes
Include patterns per relocation, keyed by the same prefix asgetRelocations(). -
getRelocationExcludes
Exclude patterns per relocation, same shape asgetRelocationIncludes(). -
getDropClasses
org.gradle.api.provider.SetProperty<String> getDropClasses()minimize()'s drop set (seeMinimizer): internal (slash-form) names of classes to omit entirely, computed once byFatJarTaskbefore the parallel packing phase. Empty when minimize is off. -
getPackCacheDir
org.gradle.api.file.DirectoryProperty getPackCacheDir()Persistent cross-build cache directory (seePackCache); optional — absent disables caching for this source.
-