Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for archiveAppendix (0.23 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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