Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for isPreserveFileTimestamps (0.36 sec)

  1. platforms/documentation/docs/src/snippets/buildCache/reproducible-archives/kotlin/build.gradle.kts

    tasks.register<Zip>("createZip") {
        isPreserveFileTimestamps = false
        isReproducibleFileOrder = true
        // ...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 120 bytes
    - Viewed (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.reproducible-archives.gradle.kts

     * limitations under the License.
     */
    
    // Ensure the archives produced are reproducible
    tasks.withType<AbstractArchiveTask>().configureEach {
        isPreserveFileTimestamps = false
        isReproducibleFileOrder = true
        dirPermissions { unix("0755") }
        filePermissions { unix("0644") }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 15:37:11 UTC 2024
    - 867 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/files/archives/kotlin/build.gradle.kts

    // when using them, we get "Cannot access 'preserveFileTimestamps': it is private in 'AbstractArchiveTask'"
    // tag::reproducible[]
    tasks.withType<AbstractArchiveTask>().configureEach {
        isPreserveFileTimestamps = false
        isReproducibleFileOrder = true
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/tasks/bundling/Tar.java

        }
    
        @Override
        protected CopyAction createCopyAction() {
            return new TarCopyAction(getArchiveFile().get().getAsFile(), getCompressor(), isPreserveFileTimestamps());
        }
    
        private ArchiveOutputStreamFactory getCompressor() {
            switch(compression) {
                case BZIP2: return Bzip2Archiver.getCompressor();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 24 23:13:41 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/tasks/bundling/Zip.java

            DocumentationRegistry documentationRegistry = getServices().get(DocumentationRegistry.class);
            return new ZipCopyAction(getArchiveFile().get().getAsFile(), getCompressor(), documentationRegistry, metadataCharset, isPreserveFileTimestamps());
        }
    
        /**
         * Returns the compression level of the entries of the archive. If set to {@link ZipEntryCompression#DEFLATED} (the default), each entry is
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 28 08:29:19 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/tasks/bundling/AbstractArchiveTask.java

         * </p>
         *
         * @return <code>true</code> if file timestamps should be preserved for archive entries
         * @since 3.4
         */
        @Input
        public boolean isPreserveFileTimestamps() {
            return archivePreserveFileTimestamps.get();
        }
    
        /**
         * Specifies whether file timestamps should be preserved in the archive.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 17 20:38:33 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  7. testing/architecture-test/src/changes/archunit-store/provider-task-properties.txt

    Method <org.gradle.api.tasks.bundling.AbstractArchiveTask.isPreserveFileTimestamps()> does not have raw return type assignable to org.gradle.api.provider.Property in (AbstractArchiveTask.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:33:20 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/working_with_files.adoc

    In order to make all archive tasks in your build reproducible, consider adding the following configuration to your build file:
    
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 70.5K bytes
    - Viewed (0)
Back to top