Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 263 for rootProject (0.17 sec)

  1. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinBuildScriptIntegrationTest.kt

    class KotlinBuildScriptIntegrationTest : AbstractKotlinIntegrationTest() {
    
        @Test
        fun `can apply plugin using ObjectConfigurationAction syntax`() {
    
            withSettings(
                """
                rootProject.name = "foo"
                include("bar")
                """
            )
    
            withBuildScript(
                """
    
                open class ProjectPlugin : Plugin<Project> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 11:39:00 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. platforms/software/plugins-distribution/src/integTest/groovy/org/gradle/api/plugins/DistributionPluginIntegrationTest.groovy

    class DistributionPluginIntegrationTest extends WellBehavedPluginTest {
        @Override
        String getMainTask() {
            return "distZip"
        }
    
        def setup() {
            file("settings.gradle").text = "rootProject.name='TestProject'"
            file("someFile").createFile()
            using m2
        }
    
        def createTaskForCustomDistribution() {
            when:
            buildFile << """
                apply plugin:'distribution'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 20 21:03:51 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestTaskIntegrationTest.groovy

        }
    
        def "test framework can be set to the same value twice"() {
            given:
            file('src/test/java/MyTest.java') << standaloneTestClass
    
            settingsFile << "rootProject.name = 'Sample'"
            buildFile << """
                test {
                    $configureTestFramework
                    $configureTestFramework
                }
            """.stripIndent()
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  4. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/DeclarativeDslTestProjectGenerator.groovy

                pluginManagement {
                    includeBuild("ecosystem-plugin")
                }
    
                plugins {
                    id("org.gradle.experimental.jvm-ecosystem")
                }
    
                rootProject.name = "root-project"
    
                include(":libA")
                include(":libB")
                include(":libC")
    
            """.stripIndent()
    
            if (config.subProjects != 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 11 07:05:10 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/running-builds/tutorial/part1_gradle_init.adoc

    }
    
    rootProject.name = "tutorial"
    include("app")
    ----
    =====
    [.multi-language-sample]
    =====
    .settings.gradle
    [source, groovy]
    ----
    plugins {
        // Apply the foojay-resolver plugin to allow automatic download of JDKs
        id 'org.gradle.toolchains.foojay-resolver-convention' version '0.7.0'
    }
    
    rootProject.name = 'tutorial'
    include('app')
    ----
    =====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiClientJdkCompatibilityTest.groovy

                }
            """
            settingsFile << "rootProject.name = 'client-runner'"
    
            file("test-project/build.gradle") << "println 'Hello from ' + gradle.gradleVersion"
            file("test-project/settings.gradle") << "rootProject.name = 'target-project'"
            file("src/main/java/ToolingApiCompatibilityClient.java").java("""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/ParallelTaskExecutionIntegrationTest.groovy

            }
        }
    
        def "tasks are not run in parallel if destroy files overlap with output files"() {
            given:
            withParallelThreads(2)
            buildFile << """
                def dir = rootProject.file("dir")
    
                aPing.destroyables.register dir
    
                bPing.outputs.file dir
            """
    
            expect:
            2.times {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 14:00:51 UTC 2024
    - 21K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskConfigurationIntegrationTest.groovy

            createDirs("nested", "other")
            settingsFile << "include 'nested', 'other'"
            buildFile << """
                project(":other") {
                    tasks.create("foo") {
                        rootProject.${code}
                    }
                }
            """
    
            expect:
            succeeds "foo"
    
            where:
            [description, code] << INVALID_CALL_FROM_LAZY_CONFIGURATION
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ComponentSelectorSerializerTest.groovy

        }
    
        def "serializes root project ProjectComponentSelector"() {
            given:
            def selector = new DefaultProjectComponentSelector(new DefaultBuildIdentifier(path(":build")), Path.ROOT, Path.ROOT, "rootProject", ImmutableAttributes.EMPTY, capabilities())
    
            when:
            def result = serialize(selector, serializer)
    
            then:
            result.identityPath == selector.identityPath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/LockingInteractionsIntegrationTest.groovy

    class LockingInteractionsIntegrationTest extends AbstractHttpDependencyResolutionTest {
    
        def lockfileFixture = new LockfileFixture(testDirectory: testDirectory)
    
        def setup() {
            settingsFile << "rootProject.name = 'locking-interactions'"
        }
    
        def 'locking constraints do not bring back excluded modules'() {
            def foo = mavenRepo.module('org', 'foo', '1.0').publish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 12.1K bytes
    - Viewed (0)
Back to top