Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 163 for asFile (0.18 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformParallelIntegrationTest.groovy

                        abstract Provider<FileSystemLocation> getInputArtifact()
    
                        void transform(TransformOutputs outputs) {
                            def input = inputArtifact.get().asFile
                            ${server.callFromBuildUsingExpression("input.name")}
                            if (input.name.startsWith("bad")) {
                                throw new RuntimeException("Transform Failure: " + input.name)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:31 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/MultipleVariantSelectionIntegrationTest.groovy

                abstract class FooToBar implements TransformAction<TransformParameters.None> {
                    @Override
                    void transform(TransformOutputs outputs) {
                        def input = inputArtifact.get().asFile
                        outputs.dir(input.name)
                    }
                }
            """
    
            when:
            repositoryInteractions {
                'org:test:1.0' {
                    expectGetMetadata()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 22:29:19 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ArtifactSelectionIntegrationTest.groovy

        @InputArtifact
        abstract Provider<FileSystemLocation> getInputArtifact()
    
        void transform(TransformOutputs outputs) {
            def output = outputs.file("transformed-" + inputArtifact.get().asFile.name)
            output << "transformed"
        }
    }
    
    dependencies {
        compile files('test-lib.jar')
        compile project(':lib')
        compile project(':ui')
        compile 'org:test:1.0'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top