Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for archiveAppendix (0.27 sec)

  1. subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/bundling/AbstractArchiveTaskTest.groovy

            archiveTask.archiveBaseName.set(null)
            archiveTask.archiveAppendix.set(null)
    
            then:
            archiveTask.archiveFileName.get() == "1.0-src.${archiveTask.archiveExtension.get()}".toString()
        }
    
        def "archiveFileName with empty basename, appendix, and version" () {
            when:
            archiveTask.archiveBaseName.set(null)
            archiveTask.archiveAppendix.set(null)
            archiveTask.archiveVersion.set(null)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 07 10:40:13 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/publish/ArchivePublishArtifactTest.groovy

            withBaseName.archiveBaseName.set("foo")
            def withAppendix = testUtil.task(DummyJar)
            withAppendix.archiveBaseName.set("foo")
            withAppendix.archiveAppendix.set("javadoc")
            def withAppendixOnly = testUtil.task(DummyJar)
            withAppendixOnly.archiveAppendix.set("javadoc")
            def taskDependencyFactory = TestFiles.taskDependencyFactory()
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 28 15:32:09 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/files/archivesChangedBaseName/groovy/build.gradle

    }
    // end::base-plugin-config[]
    
    def myZip = tasks.register('myZip', Zip) {
        from 'somedir'
    }
    
    def myOtherZip = tasks.register('myOtherZip', Zip) {
        archiveAppendix = 'wrapper'
        archiveClassifier = 'src'
        from 'somedir'
    }
    
    tasks.register('echoNames') {
        def projectNameString = project.name
        def archiveFileName = myZip.flatMap { it.archiveFileName }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 826 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.bundling.AbstractArchiveTask.xml

                    </tr>
                </thead>
                <tr>
                    <td>archiveFileName</td>
                    <td><literal><replaceable>${archiveBaseName}</replaceable>-<replaceable>${archiveAppendix}</replaceable>-<replaceable>${archiveVersion}</replaceable>-<replaceable>${archiveClassifier}</replaceable>.<replaceable>${archiveExtension}</replaceable></literal></td>
                </tr>
                <tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/tasks/bundling/AbstractArchiveTask.java

        private final RegularFileProperty archiveFile;
        private final Property<String> archiveName;
        private final Property<String> archiveBaseName;
        private final Property<String> archiveAppendix;
        private final Property<String> archiveVersion;
        private final Property<String> archiveExtension;
        private final Property<String> archiveClassifier;
        private final Property<Boolean> archivePreserveFileTimestamps;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 17 20:38:33 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/files/archivesChangedBaseName/kotlin/build.gradle.kts

    }
    // end::base-plugin-config[]
    
    val myZip by tasks.registering(Zip::class) {
        from("somedir")
    }
    
    val myOtherZip by tasks.registering(Zip::class) {
        archiveAppendix = "wrapper"
        archiveClassifier = "src"
        from("somedir")
    }
    
    tasks.register("echoNames") {
        val projectNameString = project.name
        val archiveFileName = myZip.flatMap { it.archiveFileName }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 828 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/files/sampleJavaProject/groovy/build.gradle

    // tag::link-task-properties[]
    // tag::inner-link-task-properties[]
    def archivesDirPath = layout.buildDirectory.dir('archives')
    // end::inner-link-task-properties[]
    
    tasks.register('packageClasses', Zip) {
        archiveAppendix = "classes"
        destinationDirectory = archivesDirPath
    
        from compileJava
    }
    // end::link-task-properties[]
    
    // tag::nested-specs[]
    tasks.register('nestedSpecs', Copy) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:03:24 UTC 2024
    - 878 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/files/sampleJavaProject/kotlin/build.gradle.kts

    // tag::link-task-properties[]
    // tag::inner-link-task-properties[]
    val archivesDirPath = layout.buildDirectory.dir("archives")
    // end::inner-link-task-properties[]
    
    tasks.register<Zip>("packageClasses") {
        archiveAppendix = "classes"
        destinationDirectory = archivesDirPath
    
        from(tasks.compileJava)
    }
    // end::link-task-properties[]
    
    // tag::nested-specs[]
    tasks.register<Copy>("nestedSpecs") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:03:24 UTC 2024
    - 892 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc

            doLast {
                // Use 'suffix' for post processing of reports
            }
        }
    
        register<Zip>("archiveTestReports") {
            val reportType: String by test.get().extra  // <2>
            archiveAppendix = reportType
            from(test.get().reports.html.destination)
        }
    }
    ----
    <1> Creates a new `reportType` extra property on the `test` task
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/working_with_files.adoc

    You can set each of these properties on the task separately.
    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