Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for unbuildable (0.15 sec)

  1. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/AbstractVisualStudioProjectIntegrationTest.groovy

            def projectConfigurations = ["unbuildable"] as Set
            projectFile.assertHasComponentSources(componentUnderTest, "src/main")
            projectFile.projectConfigurations.keySet() == projectConfigurations
    
            and:
            solutionFile.assertReferencesProject(projectFile, projectConfigurations)
        }
    
        @ToBeFixedForConfigurationCache
        def "warns about unbuildable components in generated visual studio project"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  2. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioMultiProjectIntegrationTest.groovy

                    .withConfiguration('unbuildable')
                    .succeeds()
    
            then:
            resultUnbuildableSolution.size() == 1
            resultUnbuildableSolution[0].assertTasksExecuted()
            resultUnbuildableSolution[0].assertOutputContains('The project "exe" is not selected for building in solution configuration "unbuildable|Win32".')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  3. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/googletest/GoogleTestIntegrationTest.groovy

            }
        }
    
        @ToBeFixedForConfigurationCache
        def "non-buildable binaries are not attached to check task"() {
            given:
            useConventionalSourceLocations()
            useStandardConfig()
            buildFile << """
    model {
        components {
            unbuildable(NativeLibrarySpec)
        }
        testSuites {
            unbuildableTest(GoogleTestTestSuiteSpec) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  4. platforms/ide/ide-native/src/main/java/org/gradle/ide/xcode/tasks/GenerateXcodeProjectFileTask.java

            for (XcodeTarget xcodeTarget : xcodeProject.getTargets()) {
                if (xcodeTarget.isBuildable()) {
                    project.getTargets().add(toGradlePbxTarget(xcodeTarget));
                } else {
                    getLogger().warn("'" + xcodeTarget.getName() + "' component in project '" + projectPath + "' is not buildable.");
                }
                project.getTargets().add(toIndexPbxTarget(xcodeTarget));
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  5. 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)
  6. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativeDependentComponentsReportIntegrationTest.groovy

        }
    
        def "hide non-buildable dependents by default #nonBuildables"() {
            given:
            buildScript simpleCppBuild()
            nonBuildables.each { nonBuildable ->
                buildFile << """
                    model {
                        components {
                            $nonBuildable {
                                binaries.all {
                                    buildable = false
                                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 24K bytes
    - Viewed (0)
  7. platforms/software/platform-base/src/main/java/org/gradle/platform/base/binary/BaseBinarySpec.java

            return getIdentifier().getProjectScopedName();
        }
    
        @Override
        public void setBuildable(boolean buildable) {
            this.disabled = !buildable;
        }
    
        @Override
        public final boolean isBuildable() {
            return getBuildAbility().isBuildable();
        }
    
        @Override
        public DomainObjectSet<LanguageSourceSet> getInputs() {
            return inputSourceSets;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaExtractorTest.groovy

            }
    
            boolean isBuildable() { true }
    
            int getTime() { 0 }
        }
    
        def "properties are extracted from unmanaged type"() {
            when:
            def schema = extract(SimpleUnmanagedTypeWithAnnotations)
    
            then:
            assert schema instanceof UnmanagedImplStructSchema
            schema.properties*.name == ["buildable", "time", "unmanagedCalculatedProp", "unmanagedProp"]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  9. platforms/software/platform-base/src/main/java/org/gradle/language/base/plugins/ComponentModelBasePlugin.java

                    for (BinarySpecInternal binary : component.getBinaries().withType(BinarySpecInternal.class)) {
                        if (binary.isBuildable()) {
                            assemble.dependsOn(binary);
                            hasBuildableBinaries = true;
                        } else {
                            notBuildable.add(binary);
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 14K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativeBinariesIntegrationTest.groovy

            }
            another(NativeLibrarySpec) {
                binaries.all { buildable = false }
            }
        }
    }
    """
            when:
            fails "assemble"
    
            then:
            failureDescriptionContains("Execution failed for task ':assemble'.")
            failure.assertHasCause("""No buildable binaries found:
      - shared library 'another:sharedLibrary': Disabled by user
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 11.3K bytes
    - Viewed (0)
Back to top