Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 131 for asFile (0.17 sec)

  1. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

        }
    }
    
    // https://github.com/gradle/gradle-private/issues/3380
    fun Test.configureAndroidUserHome() {
        val androidUserHomeForTest = project.layout.buildDirectory.dir("androidUserHomeForTest/$name").get().asFile.absolutePath
        environment["ANDROID_PREFS_ROOT"] = androidUserHomeForTest
        environment["ANDROID_USER_HOME"] = androidUserHomeForTest
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 07:43:28 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy

                        return layout.buildDirectory.file("foo.bar").get().asFile
                    }
    
                    @InputFile
                    @PathSensitive(PathSensitivity.NONE)
                    File getInputFile() {
                        count("inputFile")
                        return layout.projectDirectory.file("input.txt").asFile
                    }
    
                    @Input
                    String getInput() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  3. settings.gradle.kts

        abstract val outputFile: RegularFileProperty
    
        @get:Input
        abstract val elements: ListProperty<ArchitectureElement>
    
        @TaskAction
        fun generate() {
            val markdownFile = outputFile.asFile.get()
            val head = if (markdownFile.exists()) {
                val content = markdownFile.readText().lines()
                val markerPos = content.indexOfFirst { it.contains(markerComment) }
                if (markerPos < 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:14 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/delegates/ProjectDelegate.kt

            delegate.convention
    
        override fun getLogger(): Logger =
            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 =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:16:16 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  5. platforms/documentation/docs/build.gradle

    // Publications for the docs subproject:
    
    configurations {
        gradleFullDocsElements {
            // TODO: This breaks the provider
            outgoing.artifact(project.gradleDocumentation.getDocumentationRenderedRoot().get().asFile) {
                builtBy 'docs'
            }
        }
    }
    
    tasks.named("check") {
        dependsOn(tasks.named('checkstyleApi'))
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 15:37:11 UTC 2024
    - 42K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheValueSourceIntegrationTest.groovy

                        @get:Input
                        val propertyName: Property<String>
                    }
    
                    override fun obtain(): String? = parameters.run {
                        propertiesFile.get().asFile.takeIf { it.isFile }?.inputStream()?.use {
                            java.util.Properties().apply { load(it) }
                        }?.get(propertyName.get()) as String?
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/ParallelTaskExecutionIntegrationTest.groovy

                        def buildDirectory = projectLayout.buildDirectory
                        inputFiles.files.each { File inputFile ->
                            def outputFile = buildDirectory.file(inputFile.name + ".out").get().asFile
                            GFileUtils.copyFile(inputFile, outputFile)
                        }
                    }
                }
                allprojects {
                    apply plugin: 'java-library'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 14:00:51 UTC 2024
    - 21K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileToolchainIntegrationTest.groovy

                    options.headerOutputDirectory.set(provider { null })
                    options.fork = true
                    options.forkOptions.executable = customJavaLauncher.executablePath.asFile.absolutePath
                    options.forkOptions.jvmArgumentProviders.add(new EcjClasspathProvider(configurations.ecj))
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintWriter.kt

            when (val parameters = obtainedValue.valueSourceParameters) {
                is FileContentValueSource.Parameters -> {
                    parameters.file.orNull?.asFile?.let { file ->
                        // TODO - consider the potential race condition in computing the hash code here
                        captureFile(file)
                        reportUniqueFileInput(file)
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/FinalizerTaskIntegrationTest.groovy

                }
    
                def zip = tasks.register("zip") {
                  def zipFile = layout.buildDirectory.file("zip.txt")
                  outputs.file zipFile
                  doLast { zipFile.get().asFile.text = "bar" }
                  dependsOn cleanZip
                }
    
                def integTest = tasks.register("integTest") {
                  finalizedBy finalizer
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 32.3K bytes
    - Viewed (0)
Back to top