Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions api/shadow.api
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ public abstract interface class com/github/jengelman/gradle/plugins/shadow/tasks
}

public class com/github/jengelman/gradle/plugins/shadow/tasks/ShadowCopyAction : org/gradle/api/internal/file/copy/CopyAction {
public static final field CONSTANT_TIME_FOR_ZIP_ENTRIES J
public static final field Companion Lcom/github/jengelman/gradle/plugins/shadow/tasks/ShadowCopyAction$Companion;
public fun <init> (Ljava/io/File;Lkotlin/jvm/functions/Function1;Ljava/util/Set;Ljava/util/Set;Ljava/util/Set;ZZZLjava/lang/String;)V
public fun execute (Lorg/gradle/api/internal/file/copy/CopyActionProcessingStream;)Lorg/gradle/api/tasks/WorkResult;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,12 +285,21 @@ constructor(
get() =
this::class.java.getDeclaredField("entries").apply { isAccessible = true }.get(this).cast()

@Deprecated(
message =
"Use `CONSTANT_TIME_FOR_ZIP_ENTRIES` const instead. This will be removed in Shadow 10.",
replaceWith = ReplaceWith("CONSTANT_TIME_FOR_ZIP_ENTRIES"),
)
@Suppress("FunctionName") // For ABI compatibility.
public fun getCONSTANT_TIME_FOR_ZIP_ENTRIES(): Long = CONSTANT_TIME_FOR_ZIP_ENTRIES

/**
* A copy of
* [org.gradle.api.internal.file.archive.ZipEntryConstants.CONSTANT_TIME_FOR_ZIP_ENTRIES].
*
* 1980-02-01 00:00:00 (318182400000).
*/
@JvmField
public val CONSTANT_TIME_FOR_ZIP_ENTRIES: Long =
GregorianCalendar(1980, 1, 1, 0, 0, 0).timeInMillis
}
Expand Down