Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 208 of 208 for fileCollectionFactory (0.24 sec)

  1. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultFilePropertyFactoryTest.groovy

        DefaultFilePropertyFactory factory
    
        def setup() {
            projectDir = tmpDir.createDir("project")
            factory = new DefaultFilePropertyFactory(Stub(PropertyHost), TestFiles.resolver(projectDir), TestFiles.fileCollectionFactory())
        }
    
        def "can create directory instance from absolute file"() {
            def location = tmpDir.createDir("dir")
    
            expect:
            def dir = factory.dir(location)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheIO.kt

            logger,
            problems,
            DefaultClassDecoder()
        )
    
        private
        fun codecs(): Codecs =
            Codecs(
                directoryFileTreeFactory = service(),
                fileCollectionFactory = service(),
                artifactSetConverter = service(),
                fileLookup = service(),
                propertyFactory = service(),
                filePropertyFactory = service(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/process/internal/JvmOptionsTest.groovy

            opts.mutableSystemProperties['props'] == 'a:1\r\nb:2\r\nc:3'
        }
    
        private JvmOptions createOpts() {
            return new JvmOptions(TestFiles.fileCollectionFactory())
        }
    
        private JvmOptions parse(String optsString) {
            def opts = createOpts()
            opts.jvmArgs(fromString(optsString))
            opts
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationContainerTest.groovy

            instantiator,
            resolver,
            listenerManager,
            metaDataProvider,
            componentIdentifierFactory,
            lockingProvider,
            domainObjectContext,
            TestFiles.fileCollectionFactory(),
            buildOperationRunner,
            new PublishArtifactNotationParserFactory(
                    instantiator,
                    metaDataProvider,
                    TestFiles.resolver(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:29:40 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/project/DefaultProject.java

    import org.gradle.api.internal.collections.DomainObjectCollectionFactory;
    import org.gradle.api.internal.file.DefaultProjectLayout;
    import org.gradle.api.internal.file.FileCollectionFactory;
    import org.gradle.api.internal.file.FileOperations;
    import org.gradle.api.internal.file.FileResolver;
    import org.gradle.api.internal.initialization.ClassLoaderScope;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollection.java

                if (path instanceof FileCollectionInternal) {
                    path = ((FileCollectionInternal) path).replace(owner, () -> {
                        // Should use FileCollectionFactory here, and it can take care of simplifying the tree. For example, ths returned collection does not need to be mutable
                        if (oldItems.size() == 1 && oldItems.get(0) instanceof FileCollectionInternal) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:06:55 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollectionSpec.groovy

            given:
            def file1 = new File("1")
            def file2 = new File("2")
            def src = Mock(MinimalFileSet)
            def srcCollection = TestFiles.fileCollectionFactory().create(src)
    
            when:
            collection.from(srcCollection)
            def files = collection.files
    
            then:
            1 * src.getFiles() >> ([file1] as Set)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 17:09:50 UTC 2024
    - 53K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationSpec.groovy

                listenerManager,
                metaDataProvider,
                componentIdentifierFactory,
                dependencyLockingProvider,
                domainObjectContext,
                TestFiles.fileCollectionFactory(),
                new TestBuildOperationRunner(),
                publishArtifactNotationParser,
                immutableAttributesFactory,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:30:13 UTC 2024
    - 64.8K bytes
    - Viewed (0)
Back to top