Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,181 for buildDir (0.12 sec)

  1. platforms/jvm/plugins-java-base/src/integTest/groovy/org/gradle/api/plugins/JavaBasePluginTest.groovy

            set.java.destinationDirectory.set(new File(project.buildDir, 'classes/java/custom'))
            set.output.resourcesDir == new File(project.buildDir, 'resources/custom')
            set.output.generatedSourcesDirs.files == toLinkedSet(new File(project.buildDir, 'generated/sources/annotationProcessor/java/custom'))
    
            def processResources = project.tasks['processCustomResources']
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 16.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FilePropertyIntegrationTest.groovy

                def t = tasks.create("show", SomeTask)
                t.outputDir = layout.buildDirectory.dir(providers.provider { childDirName })
                println "output dir before: " + t.outputDir.getOrNull()
                buildDir = "output/some-dir"
                childDirName = "other-child"
    """
    
            when:
            run("show")
    
            then:
            outputContains("output dir before: " + testDirectory.file("build/child"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 24.7K bytes
    - Viewed (0)
  3. subprojects/composite-builds/src/main/java/org/gradle/composite/internal/DefaultIncludedBuildRegistry.java

            // TODO: synchronization
            File buildDir = buildDefinition.getBuildRootDir();
            if (buildDir == null) {
                throw new IllegalArgumentException("Included build must have a root directory defined");
            }
            IncludedBuildState includedBuild = includedBuildsByRootDir.get(buildDir);
            if (includedBuild == null) {
                if (rootBuild == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:19 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ArchiveIntegrationTest.groovy

        }
    
        def cannotCreateAnEmptyTar() {
            given:
            buildFile << """
                task tar(type: Tar) {
                    from 'test'
                    destinationDirectory = buildDir
                    archiveFileName = 'test.tar'
                }
                """
            when:
            run "tar"
    
            then:
            file('build/test.tar').assertDoesNotExist()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractLineEndingSensitivityIntegrationSpec.groovy

                    archiveFile.set(project.file("\${buildDir}/foo.zip"))
                }
                task jarTask(type: Jar) {
                    from(zipTask)
                    archiveFile.set(project.file("\${buildDir}/foo.jar"))
                }
                taskWithInputs {
                    sources.from(jarTask)
                    outputFile = project.file("\${buildDir}/output.txt")
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/DisambiguateArtifactTransformIntegrationTest.groovy

                    attribute(Bundling.BUNDLING_ATTRIBUTE, objects.named(Bundling, Bundling.EXTERNAL))
                }
            }
        }
    
    
        artifacts {
            buildDir.mkdirs()
            file("\$buildDir/test.jar").text = "toto"
            runtimeOnly file("\$buildDir/test.jar")
        }
    }
    
    dependencies {
        api project(':child')
    
        artifactTypes.getByName("jar") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:39 UTC 2023
    - 16.4K bytes
    - Viewed (0)
  7. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/WatchedDirectoriesFileSystemWatchingIntegrationTest.groovy

        def "detects when a task removes the build directory #buildDir"() {
            buildFile << """
                apply plugin: 'base'
    
                project.buildDir = file("${buildDir}")
    
                task myClean(type: Delete) {
                    delete buildDir
                }
    
                task producer {
                    def outputFile = new File(buildDir, "some/file/in/buildDir/output.txt")
                    outputs.file(outputFile)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsAccessFromGroovyDslIntegrationTest.groovy

                    ${invocation} { println(it.buildDir) }
                }
            """
    
            when:
            isolatedProjectsFails(":a:help", ":b:help")
    
            then:
            fixture.assertStateStoredAndDiscarded {
                projectsConfigured(":", ":a", ":b")
                problem("Build file 'a/build.gradle': line 3: Project ':a' cannot access 'Project.buildDir' functionality on $message", accessedProjects)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  9. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishArtifactCustomizationIntegTest.groovy

            createBuildScripts("""
                def customTask = tasks.register("myTask") {
                    def buildDir = buildDir
                    outputs.file("\${buildDir}/output.txt")
                    def outputFile = file("\${buildDir}/output.txt")
                    doLast {
                        outputFile << 'custom task'
                    }
                }
                publications {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 06:46:01 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionPropertyIntegrationTest.groovy

                createFile2.inputFile = layout.projectDirectory.file("file2-source.txt")
                createFile2.outputFile = layout.buildDirectory.file("file2.txt")
    
                buildDir = "output"
    """
            file("file1-source.txt").text = "file1"
            file("file2-source.txt").text = "file2"
    
            when:
            run("merge")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 17.3K bytes
    - Viewed (0)
Back to top