Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,027 for buildable (0.3 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/tasks/TaskDependencyUtil.java

                taskDependency.getDependencies(task);
        }
    
        public static Set<? extends Task> getDependenciesForInternalUse(Buildable buildable) {
            return getDependenciesForInternalUse(buildable.getBuildDependencies(), null);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 16:55:02 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. 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)
  9. platforms/ide/ide-native/src/main/groovy/org/gradle/ide/visualstudio/tasks/internal/VisualStudioProjectFile.groovy

                        NMakeBuildCommandLine("echo '${configuration.project.name}' project is not buildable. && exit /b -42")
                        NMakeCleanCommandLine("echo '${configuration.project.name}' project is not buildable. && exit /b -42")
                        NMakeReBuildCommandLine("echo '${configuration.project.name}' project is not buildable. && exit /b -42")
                    }
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  10. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/BinariesLifecycleTaskIntegrationTest.groovy

            withLibBinaries("notBuildableBinary1", "notBuildableBinary2")
            withStandaloneBinaries("ignoreMe")
    
            when:
            fails "assemble"
    
            then:
            failureDescriptionContains("Execution failed for task ':assemble'.")
            failure.assertHasCause("""No buildable binaries found:
      - SampleBinary 'lib:notBuildableBinary1':
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 5.6K bytes
    - Viewed (0)
Back to top