Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 994 for mkdirs (0.09 sec)

  1. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseScopeAttributeIntegrationTest.groovy

                        }
                    }
                }
            """
            file('src/main/java').mkdirs()
            file('src/main/resources').mkdirs()
            file('src/test/java').mkdirs()
            file('src/test/resources').mkdirs()
            file('src/int_test/java').mkdirs()
    
            when:
            run 'eclipse'
    
            then:
            EclipseClasspathFixture classpath = classpath('.')
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-11-10 13:19
    - 8.8K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/files/fileCollections/groovy/build.gradle

                                      Paths.get('src', 'file5.txt'))
    // end::simple-params[]
    
    file('src').mkdirs()
    file('src/dir1').mkdirs()
    file('src/file1.txt').mkdirs()
    file('src2').mkdirs()
    file('src2/dir1').mkdirs()
    file('src2/dir2').mkdirs()
    
    // tag::closure[]
    tasks.register('list') {
        Directory projectDirectory = layout.projectDirectory
        doLast {
            File srcDir
    
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-03-15 13:55
    - 2.7K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseTestSourcesIntegrationTest.groovy

                }
    
                sourceSets {
                    functionalTest
                    integration
                }
            """
            file('src/functionalTest/java').mkdirs()
            file('src/integration/java').mkdirs()
    
            when:
            run 'eclipse'
    
            then:
            assertSourceDirectoryHasTestAttribute('src/functionalTest/java')
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-09-26 14:49
    - 3.9K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/modulemap/GenerateModuleMapFileTest.groovy

        def "can generate a simple module map file"() {
            def moduleMapFile = new File(tempDir, "module.modulemap")
            def headers = new File(tempDir, 'headers').tap { mkdirs() }
            def moreHeaders = new File(tempDir, 'moreHeaders').tap { mkdirs() }
    
            when:
            generateFile(moduleMapFile, "foo", [headers.absolutePath, moreHeaders.absolutePath])
    
            then:
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-11-16 20:20
    - 2.7K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r68/CompositeBuildModuleNamesCrossVersionSpec.groovy

                includeBuild('subfolder1/module-b') { name = 'module-b-1' }
                includeBuild('subfolder2/module-b') { name = 'module-b-2' }
            """
            file('subfolder1/module-b').mkdirs()
            file('subfolder2/module-b').mkdirs()
    
            when:
            def allProjects = withConnection {c -> c.action(new IdeaProjectUtil.GetAllIdeaProjectsAction()).run() }
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-05-16 10:10
    - 6.6K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/files/fileCollections/kotlin/build.gradle.kts

        File("src/file2.txt"),
        listOf("src/file3.csv", "src/file4.csv"),
        Paths.get("src", "file5.txt")
    )
    // end::simple-params[]
    
    file("src").mkdirs()
    file("src/dir1").mkdirs()
    file("src/file1.txt").mkdirs()
    file("src2").mkdirs()
    file("src2/dir1").mkdirs()
    file("src2/dir2").mkdirs()
    
    // tag::closure[]
    tasks.register("list") {
        val projectDirectory = layout.projectDirectory
        doLast {
            var srcDir: File? = null
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-03-15 13:55
    - 2.8K bytes
    - Viewed (0)
  7. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AndroidSantaTrackerSmokeTest.groovy

                new File(it, "build/intermediates/merged_shaders/debugUnitTest/out").mkdirs()
                new File(it, "build/intermediates/merged_shaders/debugAndroidTest/out").mkdirs()
                new File(it, "build/intermediates/merged_shaders/release/out").mkdirs()
                new File(it, "build/intermediates/merged_shaders/releaseAndroidTest/out").mkdirs()
            }
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-04-04 07:21
    - 8.3K bytes
    - Viewed (0)
  8. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseCustomBuildSourceOutputTest.groovy

                plugins {
                    id "java"
                    id "eclipse"
                }
            """
            file("src/main/java").mkdirs()
            file("src/main/resources").mkdirs()
            file("src/test/java").mkdirs()
            file("src/test/resources").mkdirs()
        }
    
        @ToBeFixedForConfigurationCache
        def "can configure src output with 'baseSourceOutputDir'"() {
            setup:
            buildFile << """
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-09-26 14:49
    - 2.1K bytes
    - Viewed (0)
  9. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseLinkedResourceIntegrationTest.groovy

                }
            }
        }
    }
    """
            file("projectA/src").mkdirs()
            file("projectB/src").mkdirs()
            file("projectB/sibling-source").mkdirs()
            file("projectC/source-c").mkdirs()
            file("src").mkdirs()
        }
    
        def "can use linked resources and generate metadata twice"() {
            given:
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-09-26 14:49
    - 3K bytes
    - Viewed (0)
  10. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/android/AndroidIncrementalExecutionPerformanceTest.groovy

                    new File(it, "build/intermediates/merged_shaders/debug/out").mkdirs()
                    new File(it, "build/intermediates/merged_shaders/debugUnitTest/out").mkdirs()
                    new File(it, "build/intermediates/merged_shaders/debugAndroidTest/out").mkdirs()
                    new File(it, "build/intermediates/merged_shaders/release/out").mkdirs()
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-04-11 19:24
    - 6.8K bytes
    - Viewed (0)
Back to top