Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 128 for buildscript (0.19 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/DefaultDependenciesAccessors.java

                LOGGER.warn("Project accessors enabled, but root project name not explicitly set for '" + project.getName() +
                    "'. Checking out the project in different folders will impact the generated code and implicitly the buildscript classpath, breaking caching.");
            }
        }
    
        private void executeWork(UnitOfWork work) {
            ExecutionEngine.Result result = engine.createRequest(work).execute();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 26.4K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/FinalizerTaskIntegrationTest.groovy

        }
    
        void 'finalizer tasks are not run when finalized task does not run due to unrelated task failure and not using --continue'() {
            given:
            buildScript("""
                task a {
                }
                task b {
                    finalizedBy a
                    doLast {
                        throw new RuntimeException("broken")
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/GeneratePrecompiledScriptPluginAccessors.kt

        val appliedPlugins: List<String>
    )
    
    
    private
    fun ProjectInternal.applyPlugins(pluginRequests: PluginRequests) {
        serviceOf<PluginRequestApplicator>().applyPlugins(
            pluginRequests,
            buildscript,
            pluginManager,
            classLoaderScope
        )
    }
    
    
    private
    fun <T> withCapturedOutputOnError(block: () -> T, onError: (ErrorWithCapturedOutput) -> T): T {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:10:49 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy

            'build.gradle.kts'
        }
    
        /**
         * Sets (replacing) the contents of the build.gradle file.
         *
         * To append, use #buildFile(String).
         */
        protected TestFile buildScript(@GroovyBuildScriptLanguage String script) {
            buildFile.text = script
            buildFile
        }
    
        /**
         * Sets (replacing) the contents of the settings.gradle file.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/worker_api.adoc

    However, it will use a single shared classloader for all units of work.
    This means that each unit of work can affect one another through static class state.
    It also means that every unit of work uses the same version of libraries on the buildscript classpath.
    If you wanted the user to be able to configure the task to run with a different (but compatible) version of the
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 28 13:41:08 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  6. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishExternalVariantIntegrationTest.groovy

                            version = "1.0"
                            from root
                        }
                    }
                }
            """
        }
    
        /**
         * Buildscript code that should only be defined once
         */
        def header() {
            """
                plugins {
                    id 'maven-publish'
                }
    
                publishing {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 37.1K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectTest.groovy

            return project
        }
    
        //TODO please move more coverage to NewDefaultProjectTest
    
        def scriptClasspath() {
            when:
            project.buildscript {
                repositories
            }
    
            then:
            1 * scriptHandlerMock.getRepositories()
        }
    
        def testProject() {
            expect:
            project.is(child1.parent)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy

        @Issue("https://github.com/gradle/gradle/issues/15679")
        def "fileTrees with regular file roots cannot be used as output files"() {
            enableProblemsApiCheck()
            expectReindentedValidationMessage()
            buildScript """
                task myTask {
                    inputs.file file('input.txt')
                    outputs.files(files('build/output.txt').asFileTree).withPropertyName('output')
                    doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/resolve/ResolveTestFixture.groovy

            if (start >= 0) {
                existingScript = existingScript.substring(0, start) + existingScript.substring(end, existingScript.length())
            }
            def buildScriptBlock = """
    buildscript {
        dependencies.classpath files("${ClasspathUtil.getClasspathForClass(GenerateGraphTask).toURI()}")
    }
    """
            String generatedContent = ""
            builder.configs.forEach { config, taskName ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_5.adoc

    Previously, any `pluginManagement {}` blocks inside a settings script were executed during the normal execution of the script.
    
    Now, they are executed earlier in a similar manner to `buildscript {}` or `plugins {}`.
    This means that code inside such a block cannot reference anything declared elsewhere in the script.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 03:01:48 UTC 2024
    - 47.5K bytes
    - Viewed (0)
Back to top