Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for buildTypes (0.46 sec)

  1. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/Dimensions.java

                                           Action<NativeVariantIdentity> action) {
            Collection<BuildType> buildTypes = BuildType.DEFAULT_BUILD_TYPES;
            Collection<TargetMachine> targetMachines = extractAndValidate("target machine", "application", declaredTargetMachines);
            variants(baseName, buildTypes, targetMachines, objectFactory, attributesFactory, group, version, action);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/plugins/NativeComponentModelPlugin.java

                    toolChains.addDefaultToolChains();
                }
            }
    
            @Finalize
            public void createDefaultBuildTypes(BuildTypeContainer buildTypes) {
                if (buildTypes.isEmpty()) {
                    buildTypes.create("debug");
                }
            }
    
            @Finalize
            public void createDefaultFlavor(FlavorContainer flavors) {
                if (flavors.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 24.1K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/plugins/NativeComponentModelPluginTest.groovy

                .mutate(BuildTypeContainer) { it.add named(BuildType, "bt") }
                .mutate(FlavorContainer) { it.add named(Flavor, "flavor1") }
    
            then:
            single(toolChains).name == 'tc'
            platforms.size() == 1
            single(buildTypes).name == 'bt'
            single(flavors).name == 'flavor1'
        }
    
        def "creates binaries for executable"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:55 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. .teamcity/src/test/kotlin/PromotionProjectTests.kt

                model.buildTypes.map { it.name }
            )
        }
    
        @Test
        fun `promotion project has expected build types for other branches`() {
            val model = setupModelFor("release")
    
            assertEquals("Promotion", model.name)
            assertEquals(11, model.buildTypes.size)
            assertEquals(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 13 14:18:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

            assertEquals(rootProject.subProjects.size, model.stages.size)
            assertEquals(rootProject.buildTypes.size, model.stages.size + 1) // +1 for the GitHubMergeQueueCheckPass
        }
    
        @Test
        fun configurationsHaveDependencies() {
            val stagePassConfigs = rootProject.buildTypes.filter { it !is GitHubMergeQueueCheckPass }
            assertEquals(model.stages.size, stagePassConfigs.size)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 02 10:00:06 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/VariantAwareResolutionWithConfigurationAttributesIntegrationTest.groovy

                    void apply(Project p) {
                            def buildType = Attribute.of('buildType', String)
                            def usage = Attribute.of('usage', String)
                            def flavor = Attribute.of('flavor', String)
                            p.dependencies.attributesSchema {
                               attribute(buildType)
                               attribute(usage)
                               attribute(flavor)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/ProjectAccessorsClassPathTest.kt

                TypedProjectSchema(
                    extensions = listOf(
                        entry<Project, SourceSetContainer>("sourceSets"),
                        entry<Project, NamedDomainObjectContainer<BuildType>>("buildTypes")
                    ),
                    containerElements = listOf(
                        entry<SourceSetContainer, SourceSet>("main")
                    ),
                    conventions = listOf(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  8. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelMultiProjectIntegrationTest.groovy

                allprojects {
                    apply plugin: 'visual-studio'
                }
                subprojects {
                    apply plugin: 'cpp'
    
                    model {
                        buildTypes {
                            debug
                            release
                        }
                    }
                }
            """
        }
    
        @ToBeFixedForConfigurationCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 26K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/BinaryConfigurationIntegrationTest.groovy

            main(NativeExecutableSpec)
        }
    }
    task installDeveloperImage {
        description = "Install all debug executables"
        binaries.withType(NativeExecutableBinary) {
            if (it.buildable && buildType == buildTypes.debug) {
                dependsOn it.tasks.install
            }
        }
    }
    '''
            and:
            helloWorldApp.writeSources(file("src/main"))
    
            expect:
            succeeds "tasks"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  10. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelSingleProjectIntegrationTest.groovy

            """
            buildFile << """
                model {
                    components {
                        both(NativeLibrarySpec) {
                            binaries.all {
                                if (buildType == buildTypes.debug) {
                                    buildable = false
                                }
                            }
                        }
                        staticOnly(NativeLibrarySpec) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 35.7K bytes
    - Viewed (0)
Back to top