Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for archiveReportsTask (0.14 sec)

  1. platforms/documentation/docs/src/snippets/files/copy/kotlin/build.gradle.kts

        abstract val dirToArchive: DirectoryProperty
    }
    
    val archiveReportsTask by tasks.registering(MyArchiveTask::class) {
        dirToArchive = layout.buildDirectory.dir("toArchive")
    }
    
    // tag::copy-single-file-example-with-task-properties[]
    tasks.register<Copy>("copyReport2") {
        from(myReportTask.flatMap { it.outputFile })
        into(archiveReportsTask.flatMap { it.dirToArchive })
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/files/copy/groovy/build.gradle

    }
    
    tasks.register('archiveReportsTask') {
        ext.dirToArchive = layout.buildDirectory.dir("toArchive")
        inputs.dir dirToArchive
    }
    
    // tag::copy-single-file-example-with-task-properties[]
    tasks.register('copyReport2', Copy) {
        from myReportTask.outputFile
        into archiveReportsTask.dirToArchive
    }
    // end::copy-single-file-example-with-task-properties[]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/working_with_files.adoc

    include::sample[dir="snippets/files/copy/groovy",files="build.gradle[tags=copy-single-file-example-with-task-properties]"]
    ====
    
    We have also assumed that the reports will be archived by `archiveReportsTask`, which provides us with the directory that will be archived and hence where we want to put the copies of the reports.
    
    [[sec:copying_multiple_files_example]]
    === Copying multiple files
    
    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