Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 372 for allprojects (0.35 sec)

  1. testing/integ-test/src/integTest/groovy/org/gradle/integtests/MultiprojectIntegrationTest.groovy

        @Test
        public void canInjectConfigurationFromParentProject() {
            createDirs("a", "b")
            testFile('settings.gradle') << 'include "a", "b"'
            testFile('build.gradle') << '''
                allprojects {
                    def destDir = buildDir
                    task test {
                        doLast {
                            destDir.mkdirs()
                            new File(destDir, 'test.txt') << 'content'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r211/ToolingApiIdeaModelCrossVersionSpec.groovy

        }
    
        def "module java sdk overwrite always null"() {
            given:
            settingsFile << "\ninclude 'root', 'child1', 'child2', 'child3'"
            buildFile << """
                allprojects {
                    apply plugin:'java'
                    apply plugin:'idea'
                    ${javaTargetCompatibility(targetVersion, JavaVersion.VERSION_1_5)}
                }
    
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/StronglyTypedConfigurationAttributesResolveIntegrationTest.groovy

                    release
                }
    
                def flavor = Attribute.of(Flavor)
                def buildType = Attribute.of(BuildType)
                def extra = Attribute.of('extra', String)
    
                allprojects {
                   dependencies {
                       attributesSchema {
                          attribute(flavor)
                          attribute(buildType)
                          attribute(extra)
                       }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 48.1K bytes
    - Viewed (0)
  4. 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)
  5. subprojects/core/src/test/groovy/org/gradle/invocation/DefaultGradleSpec.groovy

            }
            1 * action.execute(rootProject)
        }
    
        def "allprojects action is executed when projects are loaded"() {
            given:
            def action = Mock(Action)
            def rootProject = project('root')
            gradle.rootProject = rootProject
    
            when:
            gradle.allprojects(action)
    
            then:
            0 * action.execute(_)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 22:53:34 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/DependencyReportTaskIntegrationTest.groovy

            given:
            createDirs("client", "a", "b", "c")
            file("settings.gradle") << "include 'client', 'a', 'b', 'c'"
    
            buildFile << """
    allprojects {
        configurations { compile; "default" { extendsFrom compile } }
        configurations { zzz }
        group = "group"
        version = 1.0
    }
    
    dependencies { compile project(":c") }
    
    project(":a") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 25 05:32:54 UTC 2023
    - 31.2K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/DeprecationHandlingIntegrationTest.groovy

        }
    
        def 'DeprecatedPlugin from init script - without full stacktrace.'() {
            given:
            def initScript = file("init.gradle") << """
                allprojects {
                    org.gradle.internal.deprecation.DeprecationLogger.deprecatePlugin("DeprecatedPlugin").replaceWithExternalPlugin("Foobar").willBeRemovedInGradle9().undocumented().nagUser() // line 2
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 16:16:32 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/archives/ReproducibleArchivesInterceptor.groovy

                    def initScript = instance.testDirectory.file('reproducible-archives-init.gradle')
                    initScript.text = """
                            rootProject { prj ->
                                allprojects {
                                    tasks.withType(AbstractArchiveTask) {
                                        preserveFileTimestamps = false
                                        reproducibleFileOrder = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. testing/smoke-test/src/smokeTest/groovy/org/gradle/play/integtest/fixtures/external/AbstractMultiVersionPlayExternalContinuousBuildIntegrationTest.groovy

            Assume.assumeTrue(JavaVersion.current() <= JavaVersion.VERSION_11)
        }
    
        private static String playPlatformConfiguration(String version) {
            return """
            allprojects {
                play {
                    platform {
                        playVersion = "${version}"
                    }
                }
            }
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseClasspathIntegrationSpec.groovy

        @Issue("https://github.com/gradle/gradle/issues/10393")
        @ToBeFixedForConfigurationCache
        def  "Does not contain duplicate project dependencies"() {
            setup:
            buildFile <<  """
                allprojects {
                    apply plugin: 'java'
                    apply plugin: 'eclipse'
                }
            """
            settingsFile << """
                include 'producer', 'consumer'
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top