Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,593 for buildDir (0.15 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenFileRepoResolveIntegrationTest.groovy

            then:
            def buildDir = file('build')
            buildDir.assertHasDescendants(moduleA.artifactFile.name)
            buildDir.file(moduleA.artifactFile.name).assertIsCopyOf(moduleA.artifactFile)
    
            when:
            moduleA.dependsOn('group', 'projectB', '9.1')
            moduleA.publishWithChangedContent()
            run 'retrieve'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/configure/NativeBinaryRules.java

        }
    
        private static void assignToolsToStaticLibraryBinary(File buildDir, NativeBinarySpecInternal nativeBinary) {
            StaticLibraryBinarySpec staticLibrary = (StaticLibraryBinarySpec) nativeBinary;
            staticLibrary.setStaticLibraryFile(staticLibraryFileFor(nativeBinary, buildDir));
        }
    
        public static File executableFileFor(NativeBinarySpecInternal nativeBinary, File buildDir) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/ant/properties/kotlin/build.gradle.kts

    // tag::set-property[]
    ant.setProperty("buildDir", buildDir)
    ant.properties.set("buildDir", buildDir)
    ant.properties["buildDir"] = buildDir
    ant.withGroovyBuilder {
        "property"("name" to "buildDir", "location" to "buildDir")
    }
    // end::set-property[]
    
    ant.importBuild("build.xml")
    
    // tag::get-property[]
    println(ant.getProperty("antProp"))
    println(ant.properties.get("antProp"))
    println(ant.properties["antProp"])
    // end::get-property[]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 860 bytes
    - Viewed (0)
  4. testing/integ-test/src/integTest/groovy/org/gradle/integtests/ProjectLayoutIntegrationTest.groovy

            executer.withTasks('build').run()
    
            File buildDir = file('build')
    
            buildDir.file('classes/java/main').assertHasDescendants(
                'org/gradle/JavaClass.class',
                'org/gradle/JavaClass2.class'
            )
            buildDir.file('classes/groovy/main').assertHasDescendants(
                'org/gradle/GroovyClass.class',
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/ant/properties/groovy/build.gradle

    // tag::set-property[]
    ant.buildDir = buildDir
    ant.properties.buildDir = buildDir
    ant.properties['buildDir'] = buildDir
    ant.property(name: 'buildDir', location: buildDir)
    // end::set-property[]
    
    ant.importBuild 'build.xml'
    
    // tag::get-property[]
    println ant.antProp
    println ant.properties.antProp
    println ant.properties['antProp']
    // end::get-property[]
    
    // tag::set-reference[]
    ant.path(id: 'classpath', location: 'libs')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 673 bytes
    - Viewed (0)
  6. platforms/software/reporting/src/test/groovy/org/gradle/api/reporting/ReportingExtensionTest.groovy

        Project project = ProjectBuilder.builder().build()
        ReportingExtension extension = TestUtil.newInstance(ReportingExtension.class, project)
    
        def "defaults to reports dir in build dir"() {
            expect:
            extension.baseDir == new File(project.buildDir, ReportingExtension.DEFAULT_REPORTS_DIR_NAME)
    
            when:
            project.buildDir = project.file("newBuildDir")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. platforms/software/platform-base/src/main/java/org/gradle/language/base/internal/ProjectLayout.java

        private final File buildDir;
    
        public ProjectLayout(ProjectIdentifier projectIdentifier, File buildDir) {
            this.projectIdentifier = projectIdentifier;
            this.buildDir = buildDir;
        }
    
        public ProjectIdentifier getProjectIdentifier() {
            return projectIdentifier;
        }
    
        public File getBuildDir() {
            return buildDir;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/validation/MavenPublicationErrorChecker.java

            return differenceSet.stream().map(diff -> {
                switch (diff) {
                    case FILE: {
                        Path expectedFile = buildDir.relativize(expected.getFile().toPath());
                        Path actualFile = buildDir.relativize(actual.getFile().toPath());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 06:46:01 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/IncludedBuildValidationIntegrationTest.groovy

            when:
            def buildDir = new File("does-not-exist")
            includedBuilds << buildDir
    
            then:
            fails(buildA, "help")
    
            and:
            failure.assertHasDescription("Included build '${buildDir.absolutePath}' does not exist.")
        }
    
        def "reports failure when included build directory is not a directory"() {
            when:
            def buildDir = file("not-a-directory").createFile()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/customModel/languageType/groovy/buildSrc/src/main/groovy/sample/documentation/DocumentationPlugin.groovy

        @ComponentBinaries
        void generateDocBinaries(ModelMap<DocumentationBinary> binaries, VariantComponentSpec component, @Path("buildDir") File buildDir) {
            binaries.create("exploded") { binary ->
                outputDir = new File(buildDir, "${component.name}/${binary.name}")
            }
        }
    // end::binaries-generation[]
    
    // tag::text-tasks-generation[]
        @BinaryTasks
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top