Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 40 for allprojects (0.17 sec)

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

            where:
            [api, pathSensitivity] << [Api.values(), [PathSensitivity.RELATIVE, PathSensitivity.ABSOLUTE, PathSensitivity.NAME_ONLY]].combinations()
        }
    
        @ToBeFixedForIsolatedProjects(because = "allprojects, extensive cross-project access")
        def "artifact transforms are sensitive to empty directories by default"() {
            // Immutable artifact transforms are cached to the GradleUserHome,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/CrossProjectConfigurationReportingGradle.kt

            delegate.rootProject(action.withCrossProjectModelAccessCheck())
        }
    
        override fun allprojects(action: Action<in Project>) {
            // Use the delegate's implementation of `rootProject` to ensure that the action is only invoked once the rootProject is available
            delegate.rootProject {
                // Instead of the rootProject's `allProjects`, collect the projects while still tracking the current referrer project
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiModelQueryIntegrationTest.groovy

            given:
            settingsFile << """
                include('a')
                include('b')
            """
            withSomeToolingModelBuilderPluginInBuildSrc()
            buildFile << """
                allprojects {
                    plugins.apply('java-library')
                }
                plugins.apply(my.MyPlugin)
            """
    
            when:
            executer.withArguments(ENABLE_CLI, WARN_PROBLEMS_CLI_OPT)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/configuration/ExecuteUserLifecycleListenerBuildOperationIntegrationTest.groovy

            // since allprojects callbacks are executed inside an internal rootProject listener
            initFile << """
                rootProject { project ->
                    ${addBeforeProjectListeners('init file rootProject')}
                }
                apply from: file('$scriptFile.name')
            """
            scriptFile << """
                allprojects { project ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/authoring-builds/structuring/sharing_build_logic_between_subprojects.adoc

    TIP:  Avoid using `subprojects {}` and `allprojects {}`.
    
    With cross-configuration, build logic can be injected into a subproject which is not obvious when looking at its build script.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 12:58:46 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractLineEndingSensitivityIntegrationSpec.groovy

            execute("taskWithInputs")
    
            then:
            executedAndNotSkipped(":taskWithInputs")
    
            where:
            api << Api.values()
        }
    
        @ToBeFixedForIsolatedProjects(because = "allprojects, extensive cross-project access")
        def "artifact transforms are sensitive to line endings by default"() {
            createParameterizedTransformWithLineEndingNormalization(LineEndingSensitivity.DEFAULT)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskCreationBuildOperationIntegrationTest.groovy

            buildOperations.none(RealizeTaskBuildOperationType, not(withPath(':', ':foo')))
        }
    
        @ToBeFixedForIsolatedProjects(because = "allprojects, subprojects")
        def "registration and realization ops have correct paths"() {
            given:
            def createTasks = {
                buildFile << """
                    apply plugin: 'base'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildTreeStructureIntegrationTest.groovy

        private void defineTaskInSettings(TestFile settingsFile) {
            settingsFile << """
                gradle.rootProject {
                    allprojects {
                        task thing {
                            def registry = project.services.get(${BuildStateRegistry.name})
                            doLast {
                                def projects = []
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/invocation/DefaultGradle.java

                rootProjectActions.add(decorate(registrationPoint, action));
            }
        }
    
        @Override
        public void allprojects(final Action<? super Project> action) {
            rootProject("Gradle.allprojects", project -> project.allprojects(action));
        }
    
        @Override
        public ProjectInternal getDefaultProject() {
            if (defaultProject == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  10. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ApplicationPluginIntegrationTest.groovy

        def "includes transitive implementation dependencies in distribution"() {
            given:
            mavenRepo.module('org.gradle.test', 'implementation', '1.0').publish()
            buildFile << """
                allprojects {
                    repositories {
                        maven { url '$mavenRepo.uri' }
                    }
                }
            """
            createDirs("utils", "core")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top