Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 130 for unbuildable (0.15 sec)

  1. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cunit/CUnitIntegrationTest.groovy

        def "non-buildable binaries are not attached to check task"() {
            given:
            useConventionalSourceLocations()
            useStandardConfig()
            buildFile << """
    model {
        components {
            unbuildable(NativeLibrarySpec)
        }
        testSuites {
            unbuildableTest(CUnitTestSuiteSpec) {
                testing \$.components.unbuildable
            }
        }
        binaries {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 17K bytes
    - Viewed (0)
  2. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/AbstractXcodeSwiftProjectIntegrationTest.groovy

            swift3Component | SwiftVersion.SWIFT3
            swift4Component | SwiftVersion.SWIFT4
            swift5Component | SwiftVersion.SWIFT5
        }
    
        @ToBeFixedForConfigurationCache
        def "can create xcode project for unbuildable swift component with #sourceCompatibility source compatibility"() {
            given:
            makeSingleProject()
            buildFile << configureTargetMachines("machines.os('os-family')")
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/testFixtures/groovy/org/gradle/language/cpp/AbstractCppComponentIntegrationTest.groovy

                    }
                }
            """
    
            expect:
            succeeds "verifyTargetMachineCount"
        }
    
        @ToBeFixedForConfigurationCache
        def "can specify unbuildable architecture as a component target machine"() {
            given:
            makeSingleProject()
            componentUnderTest.writeToProject(testDirectory)
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8K bytes
    - Viewed (0)
  4. platforms/ide/ide-native/src/main/java/org/gradle/ide/visualstudio/internal/DefaultVisualStudioProject.java

        }
    
        @Nested
        public List<VisualStudioProjectConfiguration> getConfigurations() {
            if (configurations.isEmpty()) {
                return ImmutableList.of(new VisualStudioProjectConfiguration(this, "unbuildable", null));
            }
            return CollectionUtils.toList(configurations.values());
        }
    
        public void addConfiguration(VisualStudioTargetBinary nativeBinary, VisualStudioProjectConfiguration configuration) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/Buildable.java

    package org.gradle.api;
    
    import org.gradle.api.tasks.TaskDependency;
    
    /**
     * A {@code Buildable} represents an artifact or set of artifacts which are built by one or more {@link Task}
     * instances.
     */
    public interface Buildable {
        /**
         * Returns a dependency which contains the tasks which build this artifact. All {@code Buildable} implementations
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 15 16:06:48 UTC 2017
    - 1.3K bytes
    - Viewed (0)
  6. subprojects/diagnostics/src/main/java/org/gradle/api/reporting/dependents/internal/DependentComponentsRenderableDependency.java

            boolean buildable = true;
            if (componentSpec instanceof VariantComponentSpec) {
                // Consider variant aware components with no buildable binaries as non-buildables
                VariantComponentSpec variantComponentSpec = (VariantComponentSpec) componentSpec;
                buildable = variantComponentSpec.getBinaries().values().stream().anyMatch(BinarySpec::isBuildable);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  7. platforms/software/platform-base/src/main/java/org/gradle/platform/base/internal/FixedBuildAbility.java

        private final boolean buildable;
    
        public FixedBuildAbility(boolean buildable) {
            this.buildable = buildable;
        }
    
        @Override
        public boolean isBuildable() {
            return buildable;
        }
    
        @Override
        public void explain(DiagnosticsVisitor visitor) {
            if (!buildable) {
                visitor.node("Disabled by user");
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  8. platforms/ide/ide-native/src/main/java/org/gradle/ide/visualstudio/internal/VisualStudioProjectConfigurationMetadata.java

        private final String name;
        private final boolean buildable;
    
        public VisualStudioProjectConfigurationMetadata(String name, boolean buildable) {
            this.name = name;
            this.buildable = buildable;
        }
    
        public String getName() {
            return name;
        }
    
        public boolean isBuildable() {
            return buildable;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1K bytes
    - Viewed (0)
  9. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/internal/ToolSearchBuildAbilityTest.groovy

        def "is buildable when tool search is successful" () {
            when:
            result.isAvailable() >> true
    
            then:
            ability.isBuildable()
        }
    
        def "is not buildable when tool search is not successful" () {
            when:
            result.isAvailable() >> false
    
            then:
            !ability.isBuildable()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. platforms/software/platform-base/src/main/java/org/gradle/platform/base/internal/dependents/DefaultDependentBinariesResolvedResult.java

        }
    
        @Override
        public String getProjectScopedName() {
            return projectScopeName;
        }
    
        @Override
        public boolean isBuildable() {
            return buildable;
        }
    
        @Override
        public boolean isTestSuite() {
            return testSuite;
        }
    
        @Override
        public List<DependentBinariesResolvedResult> getChildren() {
            return children;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top