Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 128 for Buildscript (0.15 sec)

  1. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildOperationsIntegrationTest.groovy

        @Requires(IntegTestPreconditions.NotConfigCached)
        def "generates build lifecycle operations for included build used as buildscript and production dependency"() {
            given:
            buildA.buildFile.prepend("""
                buildscript {
                    dependencies {
                        classpath 'org.test:b1:1.0'
                    }
                }
            """)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 13:43:40 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/CredentialsProviderIntegrationTest.groovy

            def buildScript = """
                tasks.register('executionCredentials') {
                    def providers = project.providers
                    doLast {
                        providers.credentials($credentialsType, 'test').get()
                    }
                }
            """
            file('submodule1/build.gradle') << buildScript
            file('submodule2/build.gradle') << buildScript
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/AbstractSourcesAndJavadocJarsIntegrationTest.groovy

        def "does not download gradleApi() sources when sources download is disabled"() {
            given:
            executer.withEnvironmentVars('GRADLE_REPO_OVERRIDE': "$server.uri/")
    
            buildScript """
                apply plugin: "java"
                apply plugin: "idea"
                apply plugin: "eclipse"
    
                dependencies {
                    implementation gradleApi()
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestReportTaskIntegrationTest.groovy

        }
    
        // TODO: remove in Gradle 9.0
        def "nag with deprecation warnings when using legacy TestReport APIs"() {
            given:
            buildScript """
                apply plugin: 'java'
                $junitSetup
                tasks.register('otherTests', Test) {
                    binaryResultsDirectory = file("bin")
                    classpath = files('blahClasspath')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 16.6K bytes
    - Viewed (0)
  5. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/core/BuildScanAutoApplyIntegrationTest.groovy

            "newer"  | PLUGIN_NEWER_VERSION
        }
    
        def "uses #sequence version of plugin when added to buildscript classpath"() {
            when:
            fixture.runtimeVersion = version
            fixture.artifactVersion = version
            settingsFile.text = """
                buildscript {
                    repositories {
                        maven { url '${mavenRepo.uri}' }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 08:50:27 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerPluginClasspathInjectionIntegrationTest.groovy

            when:
            buildScript plugin.useDeclaration
            def result = runner()
                .withPluginClasspath([])
                .buildAndFail()
    
            then:
            !execFailure(result).error.contains("Gradle TestKit (classpath:")
        }
    
        def "injected classpath is indicated in error message if plugin not found"() {
            when:
            buildScript plugin.useDeclaration
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 15 03:45:31 UTC 2024
    - 13K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/SnapshotTaskInputsOperationIntegrationTest.groovy

            succeeds('customTask')
    
            then:
            operations.hasOperation(SnapshotTaskInputsBuildOperationType)
        }
    
        def "handles task with no outputs"() {
            when:
            buildScript """
                task noOutputs {
                    doLast {}
                }
            """
            succeeds('noOutputs', "--build-cache")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  8. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/TaskReportTaskIntegrationTest.groovy

    -----------------
    init - Initializes a new Gradle build.
    updateDaemonJvm - Generates or updates the Gradle Daemon JVM criteria.
    wrapper - Generates Gradle wrapper files.
    
    Help tasks
    ----------
    buildEnvironment - Displays all buildscript dependencies declared in root project '$projectName'.
    dependencies - Displays all dependencies declared in root project '$projectName'.
    dependencyInsight - Displays the insight into a specific dependency in root project '$projectName'.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 15:00:02 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/repository/PluginManagementDslSpec.groovy

            }
        }
    
        def "pluginManagement block must come before buildScript blocks in the settings.gradle script"() {
            given:
            settingsFile << """
                buildScript {}
                pluginManagement {}
            """
    
            when:
            fails 'help'
    
            then:
            failure.assertHasLineNumber(3)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 15:16:47 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Interpreter.kt

            programKind: ProgramKind,
            programTarget: ProgramTarget
        ): CompiledScript {
    
            // TODO: consider computing stage 1 accessors only when there's a buildscript or plugins block
            // TODO: consider splitting buildscript/plugins block accessors
            val stage1BlocksAccessorsClassPath = when (programTarget) {
                ProgramTarget.Project -> host.stage1BlocksAccessorsFor(scriptHost)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 21.1K bytes
    - Viewed (0)
Back to top