Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for withBuildInSubDir (1.67 sec)

  1. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildIsolationIntegrationTest.groovy

    class CompositeBuildIsolationIntegrationTest extends AbstractIntegrationSpec {
        def "included build can access root project sneakily"() {
            given:
            buildTestFixture.withBuildInSubDir()
            singleProjectBuild("included") {
                buildFile << """
                    apply plugin: 'java'
    
                    def rootGradleBuild = gradle
                    while (rootGradleBuild.parent != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 06 13:06:25 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  2. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeSwiftExternalSourceDependenciesIntegrationTest.groovy

        def "adds source dependencies Swift module of main component to Xcode indexer search path"() {
            def fixture = new SwiftAppWithLibrary()
    
            given:
            buildTestFixture.withBuildInSubDir()
            singleProjectBuild("greeter") {
                buildFile << """
                    apply plugin: 'swift-library'
                """
                fixture.library.writeToProject(it)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  3. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeCppExternalSourceDependenciesIntegrationTest.groovy

        @ToBeFixedForConfigurationCache
        def "adds source dependencies C++ headers of main component to Xcode indexer search path"() {
            def fixture = new CppAppWithLibrary()
    
            given:
            buildTestFixture.withBuildInSubDir()
            depProject = singleProjectBuild("greeter") {
                buildFile << """
                    apply plugin: 'cpp-library'
                """
                fixture.greeter.writeToProject(it)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  4. platforms/ide/ide/src/testFixtures/groovy/org/gradle/plugins/ide/fixtures/AbstractMultiBuildIdeIntegrationTest.groovy

            } // else, unspecified
        }
    
        @ToBeFixedForConfigurationCache(because = "ide plugins")
        def "workspace includes projects from included builds"() {
            buildTestFixture.withBuildInSubDir()
            def buildA = singleProjectBuild("buildA") {
                settingsFile << """
                    rootProject.name = "ide"
                    includeBuild("../buildB")
                """
                buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ConcurrentToolingApiIntegrationSpec.groovy

            then:
            noExceptionThrown()
        }
    
        def "handles standard input concurrently when getting model"() {
            when:
            threads.times { idx ->
                buildTestFixture.withBuildInSubDir()
                singleProjectBuild("build$idx") {
                    buildFile << "description = System.in.text"
                }
            }
    
            then:
            threads.times { idx ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  6. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/idea/CompositeBuildParallelIntegrationTest.groovy

        @ToBeFixedForConfigurationCache
        def "builds IDE metadata artifacts in parallel"() {
            given:
            server.start()
            buildTestFixture.withBuildInSubDir()
            def buildA = singleProjectBuild("buildA") {
                buildFile << """
                    apply plugin: 'java'
                    apply plugin: 'idea'
                """
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioCompositeBuildIntegrationTest.groovy

                    apply plugin: 'cpp-library'
                    dependencies {
                        implementation "test:util:1.3"
                    }
                }
            """
    
            buildTestFixture.withBuildInSubDir()
            singleProjectBuild("util") {
                settingsFile << "rootProject.name = 'util'"
                buildFile << """
                    apply plugin: 'cpp-library'
                    apply plugin: 'visual-studio'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeCompositeBuildIntegrationTest.groovy

                    apply plugin: 'swift-library'
                    dependencies {
                        implementation 'test:util:1.3'
                    }
                }
    """
    
            buildTestFixture.withBuildInSubDir()
            singleProjectBuild("util") {
                settingsFile << "rootProject.name = 'util'"
                buildFile << """
                    apply plugin: 'swift-library'
                    apply plugin: 'xcode'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 03:57:28 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  9. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/WatchedDirectoriesFileSystemWatchingIntegrationTest.groovy

            assertWatchableHierarchies([ImmutableSet.of(testDirectory), ImmutableSet.of(testDirectory, file("buildSrc"))])
        }
    
        def "works with composite build"() {
            buildTestFixture.withBuildInSubDir()
            def includedBuild = singleProjectBuild("includedBuild") {
                buildFile << """
                    apply plugin: 'java'
                """
            }
            def consumer = singleProjectBuild("consumer") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  10. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/BuildSrcSourceDependenciesIntegrationTest.groovy

        @ToBeFixedForConfigurationCache(because = "source dependency VCS mappings are defined")
        def "can build with a source dependency that has a buildSrc directory"() {
            buildTestFixture.withBuildInSubDir()
            vcsMapping('org.test:first', first)
            singleProjectBuild("first") {
                buildFile << """
                    apply plugin: "java"
                    def foo = new Foo()
                """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top