Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 130 for unbuildable (0.17 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/tasks/CachingTaskDependencyResolveContextTest.groovy

        }
    
        def resolvesBuildable() {
            Buildable buildable = Mock()
            TaskDependency otherDependency = Mock()
    
            when:
            def tasks = context.getDependencies(task, dependency)
    
            then:
            1 * dependency.visitDependencies(_) >> { TaskDependencyResolveContext context -> context.add(buildable) }
            1 * buildable.getBuildDependencies() >> { otherDependency }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/BuildableBackedProvider.java

        public BuildableBackedProvider(Buildable buildable, Class<T> valueType, Factory<T> valueFactory) {
            this.buildable = buildable;
            this.valueType = valueType;
            this.valueFactory = valueFactory;
        }
    
        @Nullable
        @Override
        public Class<T> getType() {
            return valueType;
        }
    
        @Override
        public ValueProducer getProducer() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 20:21:30 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/internal/FixedBuildAbilityTest.groovy

    class FixedBuildAbilityTest extends Specification {
        def "is buildable" () {
            when:
            def ability = new FixedBuildAbility(true)
    
            then:
            ability.buildable
        }
    
        def "is not buildable" () {
            when:
            def ability = new FixedBuildAbility(false)
    
            then:
            !ability.buildable
        }
    
        def "explains not buildable reason" () {
            def visitor = Mock(DiagnosticsVisitor)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/TaskDependencyMatchers.java

                }
            };
        }
    
        @Factory
        public static <T extends Buildable> Matcher<T> builtBy(String... tasks) {
            return builtBy(equalTo(new HashSet<String>(Arrays.asList(tasks))));
        }
    
        @Factory
        public static <T extends Buildable> Matcher<T> builtBy(final Matcher<? extends Iterable<String>> matcher) {
            return new BaseMatcher<T>() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 15:16:36 UTC 2019
    - 3.8K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/native-binaries/tool-chains/groovy/build.gradle

        }
    }
    // end::withArguments[]
    
    model {
        components {
            main(NativeExecutableSpec)
        }
    }
    
    // tag::buildable[]
    model {
        tasks {
            buildAllExecutables(Task) {
                dependsOn $.binaries.findAll { it.buildable }
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/tasks/CachingTaskDependencyResolveContext.java

                    connectedNodes.addAll(queue);
                    return;
                }
                if (node instanceof Buildable) {
                    Buildable buildable = (Buildable) node;
                    connectedNodes.add(buildable.getBuildDependencies());
                    return;
                }
                for (WorkDependencyResolver<T> workResolver : workResolvers) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:48:26 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/dsl/org.gradle.api.Buildable.xml

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  8. subprojects/diagnostics/src/main/java/org/gradle/api/reporting/dependents/DependentComponentsReport.java

        }
    
        /**
         * Should this include non-buildable components in the report?
         */
        @Console
        public boolean isShowNonBuildable() {
            return showNonBuildable;
        }
    
        @Option(option = "non-buildable", description = "Show non-buildable components.")
        public void setShowNonBuildable(boolean showNonBuildable) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  9. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/reporting/dependents/DependentComponentsReportIntegrationTest.groovy

            then:
            output.contains("Displays the dependent components of components in root project 'test'. [deprecated]")
            output.contains("--all     Show all components (non-buildable and test suites).")
            output.contains("--non-buildable     Show non-buildable components.")
            output.contains("--test-suites     Show test suites components.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 16 17:32:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/ProviderBackedFileCollectionTest.groovy

            1 * provider.get() >> 'ignore'
            result.empty
        }
    
        def "resolves task dependencies for provider with unknown producer and buildable value"() {
            def task = Stub(Task)
            def value = Mock(Buildable)
    
            when:
            def dependencies = fileCollection.buildDependencies
    
            then:
            0 * _
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top