Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 280 for includedIf (0.2 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/typesafe/TypeSafeProjectAccessorsCompositeBuildsIntegrationTest.groovy

        // not necessarily planned to be implemented, but capturing the existing behavior
        @ToBeImplemented
        def "included builds participate in type-safe accessors generation"() {
            settingsFile << """
                rootProject.name = 'test'
    
                includeBuild 'other'
            """
            file('other/settings.gradle') << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 15:31:19 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildModelBuilderCrossVersionSpec.groovy

    import org.gradle.tooling.model.GradleProject
    
    @TargetGradleVersion('>=6.8')
    class CompositeBuildModelBuilderCrossVersionSpec extends ToolingApiSpecification {
    
        def "can run task from included build when querying a model"() {
            given:
            settingsFile << "includeBuild('other-build')"
            file('other-build/settings.gradle') << """
                rootProject.name = 'other-build'
                include 'sub'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/EclipseModelCompositeBuildIncludeCycleCrossVersionSpec.groovy

                includeBuild('../module-b')
            """
            file('module-b/settings.gradle') << """
                includeBuild('../module-a')
            """
        }
    
        def "can find a build for of included build project despite cyclic include"() {
            when:
    
            List<String> result = withConnection { connection ->
                def builder = connection.action(new AccessIncludedBuildProjectBuildAction())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIncludedBuildScriptChangesIntegrationTest.groovy

    class ConfigurationCacheIncludedBuildScriptChangesIntegrationTest extends AbstractConfigurationCacheIntegrationTest {
    
        def "invalidates cache upon change to #scriptChangeSpec of included build"() {
            given:
            def configurationCache = newConfigurationCacheFixture()
            def fixture = scriptChangeSpec.fixtureForProjectDir(file('build-logic'), testDirectory)
            fixture.setup()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. LICENSES/vendor/github.com/go-task/slim-sprig/v3/LICENSE

    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:
    
    The above copyright notice and this permission notice shall be included in
    all copies or substantial portions of the Software.
    
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 13:25:50 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. pkg/test/framework/components/cluster/clusters.go

    			if cc.Name() == e.Name() {
    				return true
    			}
    		}
    		return false
    	}
    }
    
    func (c Clusters) filterClusters(included func(Cluster) bool,
    	excluded func(Cluster) bool,
    ) Clusters {
    	var out Clusters
    	for _, cc := range c {
    		if !excluded(cc) && included(cc) {
    			out = append(out, cc)
    		}
    	}
    	return out
    }
    
    func (c Clusters) String() string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildBuildActionExecuterCrossVersionSpec.groovy

    import org.gradle.tooling.model.GradleProject
    
    @TargetGradleVersion('>=6.8')
    class CompositeBuildBuildActionExecuterCrossVersionSpec extends ToolingApiSpecification {
    
        def "can run task from included build when running a build action"() {
            given:
            settingsFile << "includeBuild('other-build')"
            file('other-build/settings.gradle') << """
                rootProject.name = 'other-build'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r55/CompositeDeduplicationCrossVersionSpec.groovy

                    project.name='explicitName'
                }
            }
            """
            settingsFile << """
            rootProject.name = 'root'
            include ':a', ':b'
            """
        }
    
        def "Included builds are deduplicated"() {
            given:
            settingsFile << """
                    includeBuild 'includedBuild1'
                    includeBuild 'includedBuild2'
                """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/SystemPropertiesCompositeBuildFixture.groovy

            Set<List<BuildWithSystemPropertyDefined>> allDefinitions = [
                new RootBuild() as BuildWithSystemPropertyDefined,
                new BuildSrc(),
                new IncludedBuild("included-build")
            ]
                .subsequences()
                .collect { definitions ->
                    if (definitions.any { it instanceof IncludedBuild }) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/GradleBuildTaskIntegrationTest.groovy

            """
    
            when:
            fails 'b1', 'b2'
    
            then:
            failure.assertHasDescription("Execution failed for task ':b2'")
            failure.assertHasCause("Included build $testDirectory has build path :bp which is the same as included build $testDirectory")
        }
    
        def "setting custom build file is deprecated"() {
            given:
            settingsFile << "rootProject.name = 'parent'"
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top