Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 804 for buildDir (0.46 sec)

  1. 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)
  2. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/delegates/ProjectDelegate.kt

            delegate.logger
    
        @Deprecated("Use layout.buildDirectory instead", ReplaceWith("layout.buildDirectory.get().asFile"))
        override fun getBuildDir(): File =
            @Suppress("DEPRECATION")
            delegate.buildDir
    
        override fun getAnt(): AntBuilder =
            delegate.ant
    
        override fun getVersion(): Any =
            delegate.version
    
        override fun getRootProject(): Project =
            delegate.rootProject
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:16:16 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ProjectDependencyResolveIntegrationTest.groovy

        }
        dependencies {
            api "org.other:externalA:1.2"
            'default' "org.other:externalB:2.1"
        }
        task jar(type: Jar) {
            archiveBaseName = 'a'
            destinationDirectory = buildDir
        }
        artifacts { api jar }
    }
    project(":b") {
        group = 'org.gradle'
        version = '1.0'
    
        configurations {
            compile
        }
        dependencies {
            compile project(':a')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  4. testing/integ-test/src/integTest/groovy/org/gradle/integtests/SyncTaskIntegrationTest.groovy

            buildFile << '''
                task syncIt(type: Sync) {
                    from providers.systemProperty("capitalize").map { "FILE.TXT" }.orElse("file.txt")
                    into buildDir
                }
            '''
            and:
            run 'syncIt'
            file('build/file.txt').assertExists()
    
            and:
            lowercaseFile.renameTo(uppercaseFile)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppApplicationIntegrationTest.groovy

        }
    
        @ToBeFixedForConfigurationCache
        def "build logic can change buildDir"() {
            settingsFile << "rootProject.name = 'app'"
            def app = new CppApp()
    
            given:
            app.writeToProject(testDirectory)
    
            and:
            buildFile << """
                apply plugin: 'cpp-application'
                buildDir = 'output'
             """
    
            expect:
            succeeds "assemble"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 19:11:01 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/AbstractLockingIntegrationTest.groovy

            url '${mavenRepo.uri}'
        }
    }
    configurations {
        conf
    }
    
    dependencies {
        conf 'org:bar:1.+'
    }
    
    task copyDeps(type: Copy) {
        from configurations.conf
        into "\$buildDir/output"
        doLast {
            throw new RuntimeException("Build failed")
        }
    }
    """
    
            when:
            fails 'copyDeps', '--write-locks'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOptionsIntegrationTest.groovy

                    it.getOutputDir().set(new File(project.buildDir, "mytask"))
                }
    
                tasks.register("consumer", ConsumerTask.class) {
                    it.getOutputFile().set(new File(project.buildDir, "consumer/out.txt"))
    
                    MyTask myTask = (MyTask) tasks.getByName("myTask")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskConfigurationIntegrationTest.groovy

                        defaultTaskRealizedCount++
                    }
                }
                def zipTaskRealizedCount = 0
                tasks.register("aZipTask", Zip) {
                    destinationDirectory = buildDir
                    zipTaskRealizedCount++
                }
    
                task foo {
                    dependsOn tasks.withType(Zip)
                    doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIntegrationTest.groovy

                }
    
                tasks.register("copy", org.gradle.api.tasks.Copy) {
                    it.from(zipTree(${provider}))
                    it.destinationDir(new File(project.buildDir, "copied"))
                }
            """
            file("a.file") << "42"
    
            when:
            configurationCacheRun "copy"
            configurationCacheRun "copy"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheState.kt

            return graph.scheduleWork { builder ->
    
                graphBuilder?.invoke(builder, rootBuildState())
    
                for (build in builds) {
                    if (build is BuildWithWork) {
                        builder.withWorkGraph(build.build.state) {
                            it.setScheduledWork(build.workGraph)
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 34.8K bytes
    - Viewed (0)
Back to top