Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newOutputFile (0.41 sec)

  1. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_4.adoc

        final RegularFileProperty outputFile = newOutputFile()
    }
    
    task myOtherTask {
        def outputFile = newOutputFile()
        doLast { ... }
    }
    ----
    =====
    [.multi-language-sample]
    =====
    .build.gradle.kts
    [source,kotlin]
    ----
    open class MyTask : DefaultTask() {
        // note: no annotation here
        val outputFile: RegularFileProperty = newOutputFile()
    }
    
    task("myOtherTask") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 03:01:48 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_5.adoc

    ==== Methods on `DefaultTask` and `ProjectLayout` replaced with `ObjectFactory`
    
    Use `ObjectFactory.fileProperty()` instead of the following methods that are now removed:
    
    - `DefaultTask.newInputFile()`
    - `DefaultTask.newOutputFile()`
    - `ProjectLayout.fileProperty()`
    
    Use `ObjectFactory.directoryProperty()` instead of the following methods that are now removed:
    
    - `DefaultTask.newInputDirectory()`
    - `DefaultTask.newOutputDirectory()`
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 03:01:48 UTC 2024
    - 47.5K bytes
    - Viewed (0)
Back to top