Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 674 for createDir2 (0.64 sec)

  1. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionPropertyIntegrationTest.groovy

                    }
                }
    
                task createDir1(type: DirOutputTask)
                task createDir2(type: DirOutputTask)
                task merge(type: MergeTask) {
                    outputFile = layout.buildDirectory.file("merged.txt")
                    inputDirs.add(createDir1.outputDir)
                    inputDirs.add(createDir2.outputDir)
                }
    
                // Set values lazily
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 17.3K bytes
    - Viewed (0)
  2. testing/integ-test/src/integTest/groovy/org/gradle/integtests/ProjectLoadingIntegrationTest.java

            TestFile settingsFile = testFile("settings.gradle");
            createDirs("root", "root/sub");
            settingsFile.writelns(
                "rootProject.projectDir = new File(settingsDir, 'root')",
                "include 'sub'",
                "project(':sub').projectDir = new File(settingsDir, 'root/sub')"
            );
    
            getTestDirectory().createDir("root").file("build.gradle").writelns("allprojects { task thing }");
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18K bytes
    - Viewed (0)
  3. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpModelIntegrationTest.groovy

        @Issue("GRADLE-2030")
        @ToBeFixedForConfigurationCache
        void "component for war plugin does not contain non-existing source and resource dirs"() {
            //given
            file('xxxSource').createDir()
            file('xxxResource').createDir()
    
            //when
            runEclipseTask """
              apply plugin: 'java'
              apply plugin: 'war'
              apply plugin: 'eclipse-wtp'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  4. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/HelpTaskIntegrationTest.groovy

    """
        }
    
        def "shows basic welcome message for current project only"() {
            given:
            createDirs("a", "b", "c")
            settingsFile << "include 'a', 'b', 'c'"
    
            when:
            run "help"
    
            then:
            result.groupedOutput.taskCount == 1
            output.contains """
    > Task :help
    
    Welcome to Gradle ${version}.
    
    To run a build, run gradle <task> ...
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 14K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppApplicationPublishingIntegrationTest.groovy

        }
    
        @ToBeFixedForConfigurationCache
        def "can publish an executable and library to a Maven repository"() {
            def app = new CppAppWithLibrary()
    
            given:
            createDirs("greeter", "app")
            settingsFile << "include 'greeter', 'app'"
            buildFile << """
                subprojects {
                    apply plugin: 'maven-publish'
    
                    group = 'some.group'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  6. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseClasspathIntegrationTest.groovy

            def someOtherArtifactJar = mavenRepo.module('someGroup', 'someOtherArtifact', '1.0').publish().artifactFile
    
            //when
            createDirs("a", "b", "c")
            runEclipseTask """include 'a', 'b', 'c'""", """
    subprojects {
        apply plugin: 'java'
        apply plugin: 'eclipse'
    
        repositories {
            maven { url "${mavenRepo.uri}" }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 36.8K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryPublishingIntegrationTest.groovy

        def "can publish a library and its dependencies to a Maven repository"() {
            def app = new CppAppWithLibrariesWithApiDependencies()
    
            given:
            def repoDir = file("repo")
            createDirs("deck", "card", "shuffle")
            settingsFile << "include 'deck', 'card', 'shuffle'"
            buildFile << """
                subprojects {
                    apply plugin: 'cpp-library'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 12:57:50 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppStaticLibraryPublishingIntegrationTest.groovy

            def targetMachines = [machine(WINDOWS, currentArchitecture), machine(LINUX, currentArchitecture), machine(MACOS, currentArchitecture)]
    
            given:
            createDirs("deck", "card", "shuffle")
            settingsFile << "include 'deck', 'card', 'shuffle'"
            buildFile << """
                subprojects {
                    apply plugin: 'cpp-library'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  9. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpIntegrationTest.groovy

            // given:
            mavenRepo.module("gradle", "foo").publish()
            mavenRepo.module("gradle", "bar").publish()
            mavenRepo.module("gradle", "baz").publish()
    
            // when:
            createDirs("sub")
            runEclipseTask "include 'sub'",
            """apply plugin: 'java'
               apply plugin: 'war'
               apply plugin: 'eclipse-wtp'
    
               project(':sub') {
                   apply plugin : 'java'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildTreeStructureIntegrationTest.groovy

            def fixture = new BuildOperationsFixture(executer, temporaryFolder)
            createDirs("a", "b", "c")
            settingsFile << """
                rootProject.name = 'thing'
                include 'a', 'b', 'c'
            """
            defineTaskInSettings(settingsFile)
            createDirs("buildSrc/a", "buildSrc/b")
            file("buildSrc/settings.gradle") << """
                include 'a', 'b'
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top