You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Migrate ShadowJar to using lazy properties (#1044)
* Migrate public variables in ShadowJar
* Rename isEnableRelocation to enableRelocation
* Mark AbstractDependencyFilter properties Transient
* Remove empty list conventions
* Can't migrate relocators to using lazy property
* Simplify getters by lazy
* Remove @transient for dependencyFilterForMinimize
* More named usages
* Optimize get
* Migrate FileCollection to ConfigurableFileCollection
* Explicit allRelocators
* Simplify allRelocators
* Update baseline
* Note this change
* Deprecated isEnableRelocation
* Tweak doc
* Revert "Deprecated isEnableRelocation"
This reverts commit 6d4f3aa.
* Rearrange and tweak styles
* Mark configurations as a ListProperty of Configuration
Copy file name to clipboardExpand all lines: api/shadow.api
+11-16Lines changed: 11 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -294,20 +294,21 @@ public abstract class com/github/jengelman/gradle/plugins/shadow/tasks/ShadowJar
294
294
protected fun createCopyAction ()Lorg/gradle/api/internal/file/copy/CopyAction;
295
295
public fun dependencies (Lorg/gradle/api/Action;)Lcom/github/jengelman/gradle/plugins/shadow/tasks/ShadowJar;
296
296
public synthetic fun dependencies (Lorg/gradle/api/Action;)Lcom/github/jengelman/gradle/plugins/shadow/tasks/ShadowSpec;
297
-
public final fun getApiJars ()Lorg/gradle/api/file/FileCollection;
298
-
public final fun getConfigurations ()Ljava/util/List;
299
-
public final fun getDependencyFilter ()Lcom/github/jengelman/gradle/plugins/shadow/internal/DependencyFilter;
300
-
public final fun getIncludedDependencies ()Lorg/gradle/api/file/FileCollection;
297
+
public final fun getApiJars ()Lorg/gradle/api/file/ConfigurableFileCollection;
298
+
public abstract fun getConfigurations ()Lorg/gradle/api/provider/ListProperty;
299
+
public abstract fun getDependencyFilter ()Lorg/gradle/api/provider/Property;
300
+
public abstract fun getEnableRelocation ()Lorg/gradle/api/provider/Property;
301
+
public abstract fun getIncludedDependencies ()Lorg/gradle/api/file/ConfigurableFileCollection;
301
302
public fun getManifest ()Lcom/github/jengelman/gradle/plugins/shadow/tasks/InheritManifest;
302
303
public synthetic fun getManifest ()Lorg/gradle/api/java/archives/Manifest;
303
-
public final fun getRelocationPrefix ()Ljava/lang/String;
304
-
public final fun getRelocators ()Ljava/util/List;
304
+
public abstract fun getMinimizeJar ()Lorg/gradle/api/provider/Property;
305
+
public abstract fun getRelocationPrefix ()Lorg/gradle/api/provider/Property;
306
+
public abstract fun getRelocators ()Lorg/gradle/api/provider/ListProperty;
305
307
public final fun getRootPatternSet ()Lorg/gradle/api/tasks/util/PatternSet;
306
-
public final fun getSourceSetsClassesDirs ()Lorg/gradle/api/file/FileCollection;
308
+
public final fun getSourceSetsClassesDirs ()Lorg/gradle/api/file/ConfigurableFileCollection;
307
309
public fun getStats ()Lcom/github/jengelman/gradle/plugins/shadow/ShadowStats;
308
-
public final fun getToMinimize ()Lorg/gradle/api/file/FileCollection;
309
-
public final fun getTransformers ()Ljava/util/List;
310
-
public final fun isEnableRelocation ()Z
310
+
public final fun getToMinimize ()Lorg/gradle/api/file/ConfigurableFileCollection;
311
+
public abstract fun getTransformers ()Lorg/gradle/api/provider/ListProperty;
311
312
public fun mergeGroovyExtensionModules ()Lcom/github/jengelman/gradle/plugins/shadow/tasks/ShadowJar;
312
313
public synthetic fun mergeGroovyExtensionModules ()Lcom/github/jengelman/gradle/plugins/shadow/tasks/ShadowSpec;
313
314
public fun mergeServiceFiles ()Lcom/github/jengelman/gradle/plugins/shadow/tasks/ShadowJar;
@@ -330,12 +331,6 @@ public abstract class com/github/jengelman/gradle/plugins/shadow/tasks/ShadowJar
330
331
public synthetic fun relocate (Ljava/lang/String;Ljava/lang/String;)Lcom/github/jengelman/gradle/plugins/shadow/tasks/ShadowSpec;
331
332
public fun relocate (Ljava/lang/String;Ljava/lang/String;Lorg/gradle/api/Action;)Lcom/github/jengelman/gradle/plugins/shadow/tasks/ShadowJar;
332
333
public synthetic fun relocate (Ljava/lang/String;Ljava/lang/String;Lorg/gradle/api/Action;)Lcom/github/jengelman/gradle/plugins/shadow/tasks/ShadowSpec;
333
-
public final fun setConfigurations (Ljava/util/List;)V
334
-
public final fun setDependencyFilter (Lcom/github/jengelman/gradle/plugins/shadow/internal/DependencyFilter;)V
335
-
public final fun setEnableRelocation (Z)V
336
-
public final fun setRelocationPrefix (Ljava/lang/String;)V
337
-
public final fun setRelocators (Ljava/util/List;)V
338
-
public final fun setTransformers (Ljava/util/List;)V
339
334
public fun transform (Lcom/github/jengelman/gradle/plugins/shadow/transformers/Transformer;)Lcom/github/jengelman/gradle/plugins/shadow/tasks/ShadowJar;
340
335
public synthetic fun transform (Lcom/github/jengelman/gradle/plugins/shadow/transformers/Transformer;)Lcom/github/jengelman/gradle/plugins/shadow/tasks/ShadowSpec;
341
336
public fun transform (Ljava/lang/Class;)Lcom/github/jengelman/gradle/plugins/shadow/tasks/ShadowJar;
0 commit comments