Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for otherBuild (0.2 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/GradleBuildTaskIntegrationTest.groovy

            given:
            buildFile << """
                task otherBuild(type:GradleBuild) {
                    dir = 'other'
                    tasks = ['otherBuild']
                }
            """
            file('other/settings.gradle').touch()
            file('other/build.gradle') << """
                task otherBuild(type:GradleBuild) {
                    dir = '../other2'
                    tasks = ['build']
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/groovy/scripts/GroovyCompileScriptBuildOperationIntegrationTest.groovy

            file('otherBuild/settings.gradle').touch()
            file('otherBuild/buildSrc/build.gradle') << """
            tasks.withType(AbstractCompile){
                options.compilerArgs = ['-proc:none']
            }
            """
    
            file('otherBuild/buildSrc/src/main/groovy/Thing.groovy') << """
            class Thing{}"""
    
            file('otherBuild/build.gradle') << "apply from: '../shared.gradle'"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/AbstractConsoleGradleBuildGroupedTaskFunctionalTest.groovy

                    }
                }
    
                task otherBuild(type: GradleBuild) {
                    mustRunAfter helloWorld
                    $externalBuildConfig
                    tasks = ['important']
                }
    
                task byeWorld {
                    mustRunAfter otherBuild
    
                    doLast {
                        logger.quiet '$BYE_WORLD_MESSAGE'
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishCustomComponentIntegTest.groovy

            when:
            mavenRepo.module('group', 'module', '1.0').publish()
    
            def otherSettings = file('consumer/settings.gradle')
            def otherBuild = file('consumer/build.gradle')
    
            otherSettings << "rootProject.name = 'consumer'"
            otherBuild << """
                repositories {
                    maven { url "${mavenRepo.uri}" }
                }
    
                configurations {
                    conf
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 7K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/ClasspathDependenciesAttributesIntegrationTest.groovy

        }
    
        def 'buildscript classpath resolves java-runtime variant'() {
            def otherSettings = file('other/settings.gradle')
            def otherBuild = file('other/build.gradle')
    
            otherSettings << """
    rootProject.name = 'other'
    """
            otherBuild << """
    group = 'org.other'
    version = '1.0'
    configurations {
        conf {
            assert canBeConsumed
            attributes {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildIntegrationTest.groovy

        def "can share artifacts between builds"() {
            writeTransformerTask()
    
            buildFile << '''
                task otherBuild(type: GradleBuild) {
                    tasks = ['generate']
                }
                task transform(type: TransformerTask) {
                    dependsOn otherBuild
                    inputFile = file('generated.txt')
                    outputFile = file('out.txt')
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/initialization/PropertiesLoaderIntegrationTest.groovy

            then:
            outputContains('mySystemProp=commandline')
        }
    
        def "can always change buildDir in properties file"() {
            when:
            file('gradle.properties') << """
                buildDir=otherBuild
            """
            then:
            succeeds ':help'
        }
    
        def "Gradle properties can be derived from environment variables"() {
            given:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/logging/GroupedOutputFixtureTest.groovy

    '''
            groupedOutput.task(':run').output == 'Hello, World!'
        }
    
        def "accepts start of embedded build as end of group"() {
            def consoleOutput = """
    > Task :helloWorld
    Hello, World!
    
    > :otherBuild > :abc"""
    
            when:
            GroupedOutputFixture groupedOutput = new GroupedOutputFixture(LogContent.of(consoleOutput))
    
            then:
            groupedOutput.task(':helloWorld').output == 'Hello, World!'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    	updatedPod := &example.Pod{}
    	if err := store.GuaranteedUpdate(ctx, key, updatedPod, false, nil,
    		storage.SimpleUpdate(func(obj runtime.Object) (runtime.Object, error) {
    			pod := obj.(*example.Pod)
    			pod.ObjectMeta.UID = "otherUID"
    			return pod, nil
    		}), nil); err != nil {
    		t.Errorf("Unexpected failure during updated: %v", err)
    	}
    
    	prec := storage.NewUIDPreconditions("myUID")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
Back to top