Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for setBuiltBy (0.25 sec)

  1. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/DefaultConfigurableFileTree.java

            return this;
        }
    
        @Override
        public Set<Object> getBuiltBy() {
            return buildDependency.getMutableValues();
        }
    
        @Override
        public ConfigurableFileTree setBuiltBy(Iterable<?> tasks) {
            buildDependency.setValues(tasks);
            return this;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/file/ConfigurableFileTree.java

         *
         * @param tasks The tasks. These are evaluated as per {@link org.gradle.api.Task#dependsOn(Object...)}.
         * @return this
         */
        ConfigurableFileTree setBuiltBy(Iterable<?> tasks);
    
        /**
         * Registers some tasks which build the files of this collection.
         *
         * @param tasks The tasks. These are evaluated as per {@link org.gradle.api.Task#dependsOn(Object...)}.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 10:39:11 UTC 2019
    - 2.5K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/file/ConfigurableFileCollection.java

         *
         * @param tasks The tasks. These are evaluated as per {@link org.gradle.api.Task#dependsOn(Object...)}.
         * @return this
         */
        ConfigurableFileCollection setBuiltBy(Iterable<?> tasks);
    
        /**
         * Registers some tasks which build the files of this collection.
         *
         * @param tasks The tasks. These are evaluated as per {@link org.gradle.api.Task#dependsOn(Object...)}.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:06:55 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileTreeTest.groovy

            fileTree.builtBy("b")
            fileTree.from("f")
            then:
            fileTree.getBuiltBy() == ["a", "b"] as Set
            dep.mutableValues == ["a", "b"] as Set
    
            when:
            fileTree.setBuiltBy(["c"])
            then:
            fileTree.getBuiltBy() == ["c"] as Set
            dep.mutableValues == ["c"] as Set
    
            when:
            fileTree.visitDependencies(context)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollection.java

            return this;
        }
    
        @Override
        public Set<Object> getBuiltBy() {
            return buildDependency.getMutableValues();
        }
    
        @Override
        public ConfigurableFileCollection setBuiltBy(Iterable<?> tasks) {
            buildDependency.setValues(tasks);
            return this;
        }
    
        private void calculateFinalizedValue() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:06:55 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollectionSpec.groovy

            collection.builtBy("a")
            collection.builtBy("b")
            collection.from("f")
    
            then:
            collection.builtBy == ["a", "b"] as Set<Object>
    
            when:
            collection.setBuiltBy(["c"])
    
            then:
            collection.builtBy == ["c"] as Set<Object>
    
            when:
            def dependencies = collection.buildDependencies.getDependencies(null)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 17:09:50 UTC 2024
    - 53K bytes
    - Viewed (0)
Back to top