Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 243 for subproject1 (0.59 sec)

  1. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/FileContentGenerator.groovy

            def body = ""
            def isParent = subProjectNumber == null || config.subProjects == 0
            def hasSources = subProjectNumber != null || config.subProjects == 0
            if (isParent) {
                if (config.subProjects != 0) {
                    body += """
                        <modules>
                            ${(0..config.subProjects - 1).collect { "<module>project$it</module>" }.join("\n                ")}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/custom_plugins.adoc

    include::sample[dir="snippets/plugins/greetingPlugin/groovy",files="buildSrc/src/main/groovy/GreetingPlugin.gradle[]"]
    ====
    
    The `GreetingPlugin` can now be applied in other subprojects' builds by using its ID:
    
    ====
    include::sample[dir="snippets/plugins/greetingPlugin/kotlin",files="app/build.gradle.kts[tag=use-plugin]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 21:49:49 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  3. build.gradle.kts

        id("gradlebuild.lifecycle")                  // CI: Add lifecycle tasks to for the CI pipeline (currently needs to be applied early as it might modify global properties)
        id("gradlebuild.generate-subprojects-info")  // CI: Generate subprojects information for the CI testing pipeline fan out
        id("gradlebuild.cleanup")                    // CI: Advanced cleanup after the build (like stopping daemons started by tests)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 11:54:19 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. testing/internal-testing/src/main/groovy/org/gradle/test/precondition/RequiresExtension.groovy

     * <p>
     * If you need a new combination of {@link TestPrecondition} classes, go to {@code subprojects/internal-testing/src/main/resources/valid-precondition-combinations.csv} and simply add it.
     * <p>
     * See the <a href="https://github.com/gradle/gradle/tree/master/subprojects/predicate-tester">predicate-tester</a> project to learn about where we use the information.
     *
     * @see Requires
     */
    @CompileStatic
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. testing/soak/src/integTest/groovy/org/gradle/jvm/JavaCompilationSoakTest.groovy

            // projectCount * memoryHog ~= 25% default JVM heap size
            def projectCount = 5
            executer.requireIsolatedDaemons()
    
            def subprojects = []
            projectCount.times {
                subprojects << "sub" + it
            }
            multiProjectBuild("root", subprojects) {
                buildFile << """
                    allprojects {
                        apply plugin: 'java'
    
                        // ~25MB
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. platforms/jvm/plugins-test-report-aggregation/src/integTest/groovy/org/gradle/api/plugins/TestReportAggregationPluginIntegrationTest.groovy

                buildFile << """
                    allprojects {
                        repositories {
                            ${mavenCentralRepository()}
                        }
                    }
                    subprojects {
                        plugins.withId('java') {
                            testing {
                                suites {
                                    test {
                                        useJUnit()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/GradleBuildTaskIntegrationTest.groovy

            settingsFile << """
                rootProject.name = 'root'
                include '1', '2'
            """
            buildFile << """
                subprojects {
                    task otherBuild(type:GradleBuild) {
                        dir = "\${rootProject.file('subprojects')}"
                        tasks = ['log']
                        buildName = project.name + "nested"
                        def startEvent = project.name + "-started"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r56/ClosedProjectSubstitutionCrossVersionSpec.groovy

        def "will substitute and run build dependencies for closed projects on startup"() {
            setup:
            multiProjectBuildInRootFolder("parent", ["child1", "child2"]) {
                buildFile << """
                subprojects {
                    apply plugin: 'java-library'
                }
                project(":child1") {
                    configurations {
                        testArtifacts
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/execution/TaskSelectorsAndOrdinalNodeIntegrationTest.groovy

        @ToBeFixedForIsolatedProjects(because = "subprojects")
        def "build is not exponentially slower when many tasks are requested"() {
            createDirs((1..30).collect({ "sub" + it }) as String[])
            settingsFile << """
                rootProject.name = "test"
                (1..30).each {
                    include "sub" + it
                }
            """
            buildFile << """
                subprojects {
                    apply plugin: 'java'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/DevelocityBuildLifecycleServiceIntegrationTest.groovy

        }
    
        @Requires(
            value = IntegTestPreconditions.NotIsolatedProjects,
            reason = "accessing `tasks` from subprojects is in violation of Isolated Projects"
        )
        def "lifecycle applied build logic runs before subprojects configuration logic"() {
            given:
            settingsFile """
                include 'sub'
    
                $beforeProject {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 18:42:29 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top