Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 383 for buildScript (0.24 sec)

  1. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/DevelocityPluginConfigIntegrationTest.groovy

            plugin.assertAutoApplied(output, false)
        }
    
        def "is not auto-applied when added to classpath via buildscript block"() {
            given:
            def coordinates = "${groupId}:${artifactId}:${plugin.runtimeVersion}"
            settingsFile << """
                buildscript {
                    repositories {
                        maven { url '${mavenRepo.uri}' }
                    }
                    dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:24:56 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. 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)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/ProgramParser.kt

                        ?.singleSectionOf(TopLevelBlockId.plugins)
                        ?.let { sourceWithoutComments.fragment(it) }
    
                val buildscript =
                    buildscriptFragment?.takeIf { it.isNotBlank() }?.let(Program::Buildscript)
    
                val pluginManagement =
                    pluginManagementFragment?.takeIf { it.isNotBlank() }?.let(Program::PluginManagement)
    
                val plugins =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskExecutionIntegrationTest.groovy

        }
    
        def "tasks added via task container and not explicitly required but executed are self closed"() {
            given:
            buildScript """
                ${ruleBasedTasks()}
    
                class Rules extends RuleSource {
                    @Mutate
                    void configureDependencyTask(@Path("tasks.dependency") EchoTask task) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. 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)
  6. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/PluginUseClassLoadingIntegrationSpec.groovy

            settingsFile << """
                include "p1"
                include "p2"
            """
    
            when:
            file("p1/build.gradle") << USE
            file("p2/build.gradle") << USE
    
            buildScript """
                evaluationDependsOnChildren()
                task verify {
                    def p1PluginClass = project(":p1").pluginClass
                    def p2PluginClass = project(":p2").pluginClass
                    doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinInitScriptIntegrationTest.kt

            )
    
            assert(
                build("-I", initScript.canonicalPath)
                    .output.contains("*42*")
            )
        }
    
        @Test
        fun `Kotlin init scripts from init dir can add buildscript repositories to projects`() {
    
            val testRepositoryDir = file("test-repository").apply { mkdirs() }
    
            val guh = file("gradle-user-home").apply { mkdirs() }
            guh.withFolders {
                "init.d" {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Sep 24 17:45:43 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/initialization/ResettableConfiguration.java

         * This method was originally added in order to release the resources of the {@code classpath}
         * configurations used for resolving buildscript classpaths, as they consumed a non-negligible
         * amount of memory even after the buildscript classpath was assembled.
         * <p>
         * Future work in this area should remove the need of this method by instead caching resolution
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 27 17:33:18 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/GradlePluginPortalDependencyResolveIntegrationTest.groovy

                    }
                }
            }
        """
        def pluginClasspathDependency = "org.gradle:gradle-hello-world-plugin:0.2"
    
        def "buildscript dependencies can be resolved from gradlePluginPortal()"() {
            given:
            buildFile << """
                buildscript {
                    $gradlePluginPortalRepository
                    dependencies {
                        classpath("$pluginClasspathDependency")
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestReportIntegrationTest.groovy

            result.testClass("LoggingTest").assertStderr(equalTo("stderr.\n"))
        }
    
        def "test report task can handle test tasks that did not run tests"() {
            given:
            buildScript """
                $junitSetup
    
                def test = tasks.named('test', Test)
    
                def otherTests = tasks.register('otherTests', Test) {
                    binaryResultsDirectory = file("bin")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5.4K bytes
    - Viewed (0)
Back to top