Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sourceDir (0.08 sec)

  1. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionIntegrationTest.groovy

            buildFile """
                def fileCollection = objects.fileCollection()
                def sourceDirs = objects.sourceDirectorySet('main', 'main files')
                sourceDirs.srcDirs("dir1", "dir2")
                fileCollection.from(sourceDirs.srcDirTrees)
                println("files = \${fileCollection.files.name.sort()}")
            """
    
            given:
            file("dir1/file1").createFile()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 12:54:09 UTC 2024
    - 21K bytes
    - Viewed (0)
Back to top