Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,181 for buildDir (0.29 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftLibraryIntegrationTest.groovy

        }
    
        def "build logic can change buildDir"() {
            given:
            def lib = new SwiftLib()
            settingsFile << "rootProject.name = '${lib.projectName}'"
            lib.writeToProject(testDirectory)
    
            and:
            buildFile << """
                apply plugin: 'swift-library'
                buildDir = 'output'
             """
    
            expect:
            succeeds "assemble"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 15:17:55 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-jvm-test-fixtures/src/testFixtures/groovy/org/gradle/java/fixtures/AbstractJavaProjectTestFixturesIntegrationTest.groovy

                    testFixturesImplementation 'org.apache.commons:commons-lang3:3.9'
                }
    
                publishing {
                    repositories {
                        maven {
                            url "\${buildDir}/repo"
                        }
                        publications {
                            maven(MavenPublication) {
                                from components.java
                            }
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 17 21:17:58 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/test/groovy/org/gradle/language/cpp/plugins/CppLibraryPluginTest.groovy

        }
    
        def "output locations reflects changes to buildDir"() {
            given:
            project.pluginManager.apply(CppLibraryPlugin)
            project.evaluate()
    
            when:
            project.buildDir = "output"
    
            then:
            def compileCpp = project.tasks.compileDebugCpp
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/test/groovy/org/gradle/language/swift/plugins/SwiftLibraryPluginTest.groovy

        }
    
        def "output locations reflects changes to buildDir"() {
            given:
            project.pluginManager.apply(SwiftLibraryPlugin)
            project.evaluate()
    
            when:
            project.buildDir = "output"
    
            then:
            def compileSwift = project.tasks.compileDebugSwift
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/file/CopySpec.java

     *
     * <pre class='autoTested'>
     * def contentSpec = copySpec {
     *   from("content") {
     *     include "**&#47;*.txt"
     *   }
     * }
     *
     * task copy(type: Copy) {
     *   into "$buildDir/copy"
     *   with contentSpec
     * }
     * </pre>
     *
     * @see org.gradle.api.tasks.Copy Copy Task
     * @see org.gradle.api.Project#copy(groovy.lang.Closure) Project.copy()
     */
    @HasInternalProtocol
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 16 22:05:15 UTC 2022
    - 12.2K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectTest.groovy

        def children() {
            expect:
            project.subprojects == getListWithAllChildProjects()
        }
    
        def buildDir() {
            expect:
            project.buildDir == new File(rootDir, "build")
    
            when:
            project.buildDir = "abc"
            then:
            child1.buildDir == new File(rootDir, "abc")
        }
    
        def cachingOfAnt() {
            expect:
            project.ant.is(testAntBuilder)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftApplicationIntegrationTest.groovy

        }
    
        def "build logic can change buildDir"() {
            given:
            def app = new SwiftApp()
            settingsFile << "rootProject.name = '${app.projectName}'"
            app.writeToProject(testDirectory)
    
            and:
            buildFile << """
                apply plugin: 'swift-application'
                buildDir = 'output'
             """
    
            expect:
            succeeds "assemble"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 12:43:37 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformParallelIntegrationTest.groovy

                configure([project(":lib1"), project(":lib2"), project(":lib3")]) {
    
                    task jar(type: Jar) {
                        archiveFileName = "\${project.name}.jar"
                        destinationDirectory = buildDir
                    }
                    artifacts {
                        compile jar
                    }
                }
    
                dependencies {
                    compile project(":lib1")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:31 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  9. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseClasspathIntegrationTest.groovy

            //when
            runEclipseTask '''
    apply plugin: "java"
    apply plugin: "eclipse"
    
    sourceSets.main.output.dir "$buildDir/generated/main"
    sourceSets.test.output.dir "$buildDir/generated/test"
    '''
            //then
            def libraries = classpath.libs
            assert libraries.size() == 2
            libraries[0].assertHasJar(file('build/generated/main'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 36.8K bytes
    - Viewed (0)
  10. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishIssuesIntegTest.groovy

                jar {
                    enabled = Boolean.parseBoolean(project.getProperty("jarEnabled"))
                }
    
                publishing {
                    repositories {
                        maven { url "\${buildDir}/repo" }
                    }
                    publications {
                        maven(MavenPublication) {
                            from components.java
                        }
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 19:31:52 UTC 2024
    - 16.9K bytes
    - Viewed (0)
Back to top