Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 145 for allprojects (0.16 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/BeforeResolveIntegrationTest.groovy

            mavenRepo.module('org.test', 'module2', '1.0').publish()
            settingsFile << """
               include ":lib"
            """
            buildFile << """
                allprojects {
                    repositories {
                        maven { url '${mavenRepo.uri}' }
                    }
                }
                configurations {
                    foo
                    bar {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 02:27:32 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildDependencyArtifactsIntegrationTest.groovy

                    from configurations.runtimeClasspath
                    into 'libs'
                }
    """
    
            buildB = multiProjectBuild("buildB", ['b1', 'b2']) {
                buildFile << """
                    allprojects {
                        apply plugin: 'java'
                    }
    """
            }
            includedBuilds << buildB
        }
    
        def "builds single artifact for substituted dependency"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 06 13:06:28 UTC 2020
    - 21.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ExternalModuleVariantsIntegrationTest.groovy

                .hasPackaging('thing')
                .hasType('thing')
                .publish()
    
            createDirs("a", "b")
            settingsFile << "include 'a', 'b'"
    
            buildFile << """
                allprojects {
                    repositories {
                        maven { url '${mavenRepo.uri}' }
                    }
                    configurations {
                        compile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 21K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r26/TestLauncherCrossVersionSpec.groovy

                // for Gradle < 4.0
                assert file("build/classes/test/example/MyTest.class").delete()
            }
        }
    
        String simpleJavaProject() {
            """
            allprojects{
                apply plugin: 'java'
                ${mavenCentralRepository()}
                dependencies { ${testImplementationConfiguration} 'junit:junit:4.13' }
            }
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  5. platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoAggregationIntegrationTest.groovy

    class JacocoAggregationIntegrationTest extends AbstractIntegrationSpec {
        def setup() {
            multiProjectBuild("root", ["application", "direct", "transitive"]) {
                buildFile << """
                    allprojects {
                        repositories {
                            ${mavenCentralRepository()}
                        }
                    }
                    subprojects {
                        plugins.withId('java') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 26.3K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/build_cache_concepts.adoc

    ====
    
    If adding such a file to your jar files is something you do for all of the projects in your build, and you want to filter this file for all consumers, you may wrap the configurations described above in an `allprojects {}` or `subprojects {}` block in the root build script.
    
    The effect of this configuration would be that changes to `build-info.properties` would be ignored for both up-to-date checks and task output caching.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 17:38:38 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  7. testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskExecutionIntegrationTest.groovy

            createDirs("child1", "child2", "child1-2", "child1-2-2")
            settingsFile << "include 'child1', 'child2', 'child1-2', 'child1-2-2'"
            buildFile << """
                task a
                allprojects {
                    task b
                    task c(dependsOn: ['b', ':a'])
                };
            """
    
            expect:
            2.times {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/platforms/PlatformResolveIntegrationTest.groovy

        ResolveTestFixture resolve
    
        def setup() {
            settingsFile << "rootProject.name = 'test'"
            buildFile << """
                apply plugin: 'java-library'
    
                allprojects {
                    repositories {
                        maven { url "${mavenHttpRepo.uri}" }
                    }
                    group = 'org.test'
                    version = '1.9'
                }
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  9. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorIntegrationTest.groovy

                abstract class SomeWork implements WorkAction<WorkParameters.None> {
                    void execute() {
                        Thread.sleep(50)
                    }
                }
    
                allprojects {
                    task run(type: SubmitsAndWaits)
                }
            """
    
            when:
            succeeds("run", "--parallel")
    
            then:
            noExceptionThrown()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 31K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ArtifactSelectionIntegrationTest.groovy

            buildFile << """
    def artifactType = Attribute.of('artifactType', String)
    def usage = Attribute.of('usage', String)
    def buildType = Attribute.of('buildType', String)
    def flavor = Attribute.of('flavor', String)
    
    allprojects {
        repositories {
            ivy { url '${ivyHttpRepo.uri}' }
        }
        dependencies {
            attributesSchema {
               attribute(usage)
               attribute(buildType)
               attribute(flavor)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top