Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for externalScript (0.14 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/ExternalScriptErrorIntegrationTest.groovy

        def externalScript
    
        def "setup"() {
            externalScript = file('other.gradle')
            settingsFile << "rootProject.name = 'project'"
            buildFile << """
        apply { from 'other.gradle' }
    """
        }
    
        def "produces reasonable error message when external script fails with Groovy exception"() {
            externalScript << '''
    
    doStuff()
    '''
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/ExternalScriptExecutionIntegrationTest.groovy

            TestFile externalScript = testFile('external.gradle')
            externalScript << """
    buildscript {
        dependencies { classpath files('repo/test-1.3.jar') }
    }
    new org.gradle.test.BuildClass()
    new BuildSrcClass()
    println 'quiet message'
    logging.captureStandardOutput(LogLevel.ERROR)
    println 'error message'
    assert project != null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top