Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 216 for asFile (0.1 sec)

  1. build-logic/performance-testing/src/main/kotlin/gradlebuild/performance/PerformanceTestPlugin.kt

                args(repoRoot().file(".teamcity/performance-test-durations.json").asFile.absolutePath)
                doNotTrackState("Reads data from the database")
            }
    
            val performanceScenarioJson = repoRoot().file(".teamcity/performance-tests-ci.json").asFile
            val tmpPerformanceScenarioJson = project.layout.buildDirectory.file("performance-tests-ci.json").get().asFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  2. build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/SamplesGenerator.kt

            // clear the target directory to remove renamed files and reset the README file
            target.asFile.deleteRecursively()
    
            val groovyDslSettings = InitSettings(projectName, false, descriptor.componentType.defaultProjectNames, modularization, BuildInitDsl.GROOVY, packageName, testFramework, target.dir("groovy"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 17:51:21 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/TaskUpToDateIntegrationTest.groovy

                    @TaskAction
                    void doAction() {
                        layout.buildDirectory.file("output.txt").get().asFile.text = "Hello"
                        layout.buildDirectory.file("build.log").get().asFile << "Produced at \${new Date()}\\n"
                    }
                }
    
                task customTask(type: CustomTask) {
                    outputFiles = fileTree(file("build")) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  4. testing/integ-test/src/integTest/groovy/org/gradle/integtests/DependencyResolutionFromTaskContextIntegrationTest.groovy

                    BadTask() {
                        println("creating bad task")
                    }
                    @TaskAction
                    void printIt() {
                        def outputFile = getOutputFile().get().asFile
                        outputFile.text = "bad"
                    }
                }
    
                abstract class GoodTask extends DefaultTask {
                    @OutputFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/api/plugins/JvmToolchainsPluginTest.groovy

        }
    
        def "toolchain service dependencies are satisfied"() {
            expect:
            project.extensions.getByType(JavaToolchainService).launcherFor(Actions.doNothing()).get().executablePath.asFile.isFile()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecMainClassIntegrationTest.groovy

                    @OutputFile
                    abstract RegularFileProperty getMainClassFile()
    
                    @TaskAction
                    def computeMainClass() {
                        mainClassFile.get().asFile.text = mainClassFromBootExtension.orNull
                            ?: mainClassFromJavaApplication.orNull
                            ?: resolveMainClassName()
                    }
    
                    def resolveMainClassName() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. testing/architecture-test/build.gradle.kts

    }
    
    val ruleStoreDir = layout.projectDirectory.dir("src/changes/archunit-store")
    
    tasks {
        val reorderRuleStore by registering(ReorderArchUnitRulesTask::class) {
            ruleFile = ruleStoreDir.file("stored.rules").asFile
        }
    
        test {
            // Looks like loading all the classes requires more than the default 512M
            maxHeapSize = "1g"
    
            // Only use one fork, so freezing doesn't have concurrency issues
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskActionIntegrationTest.groovy

                    doLast {
                        destinationDirectory.file("output.txt").get().asFile << "From compile task A"
                    }
                }
    
                task compileB(type: JavaCompile) {
                    destinationDirectory = file("build/compile-b")
                    doLast {
                        destinationDirectory.file("output.txt").get().asFile << "From compile task B"
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyIntegrationTest.groovy

                tasks.register("consumer", Consumer) {
                    def layout = layout
                    def filtered = files(producer.map { it.output }).elements.map {
                        it.collect { it.asFile }
                            .findAll { it.isFile() }
                            .collect { layout.projectDirectory.file(it.absolutePath) }
                    }
                    inputFiles.set(filtered)
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. testing/performance/src/templates/native-monolithic/common.gradle

    apply plugin: 'cpp'
    apply plugin: 'c'
    
    <% if (overlapWithOutput) { %>
        if (project != rootProject) {
           buildDir = rootProject.layout.buildDirectory.dir(project.name).get().asFile
        }
    <% } %>
    
    model {
        buildTypes {
            debug
            release
        }
    
        platforms {
            windows32 {
                architecture "x86"
                operatingSystem "windows"
            }
    
            windows64 {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top