Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 51 for asFile (0.31 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheState.kt

                    mutableModel.layout.buildDirectory.finalizeValue()
                    ProjectWithWork(project.projectPath, mutableModel.projectDir, mutableModel.buildFile, mutableModel.layout.buildDirectory.asFile.get(), mutableModel.normalization.computeCachedState())
                } else {
                    ProjectWithNoWork(project.projectPath, mutableModel.projectDir, mutableModel.buildFile)
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/rules/OverlappingOutputsIntegrationTest.groovy

                        layout.buildDirectory.file("overlap/\$fileName")
                    }
    
                    @TaskAction
                    void generate() {
                        outputFile.get().asFile.text = message
                    }
                }
    
                @CacheableTask
                class LocalStateDirectoryTask extends DefaultTask {
                    @LocalState
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 20:54:14 UTC 2024
    - 30K bytes
    - Viewed (0)
  9. platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/api/internal/classpath/DefaultModuleRegistryTest.groovy

            expect:
            def module = registry.getModule("gradle-some-module")
            module.implementationClasspath.asFiles == [classesDir, resourcesDir, staticResourcesDir]
            module.runtimeClasspath.asFiles == [externalRuntimeDep]
    
            def dep = registry.getExternalModule("dep")
            dep.implementationClasspath.asFiles == [externalRuntimeDep]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

            then:
            cachedClasspath.asFiles == [cachedFile]
            cachedFile.assertIsFile()
    
            and:
            1 * fileAccessTimeJournal.setLastAccessTime(cachedFile.parentFile, _)
            0 * fileAccessTimeJournal._
    
            when:
            def cachedClasspath2 = transformer.transform(classpath, BuildLogic)
    
            then:
            cachedClasspath2.asFiles == [cachedFile]
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top