- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 579 for asFile (0.22 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/state/UpToDateIntegTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 13 12:00:09 UTC 2022 - 9.6K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/tasks/LinkSharedLibraryTest.groovy
link.linkedFile = tmpDir.file("shared/lib.dll") then: link.importLibrary.get().asFile == tmpDir.file("shared/lib.lib") when: link.importLibrary.set(tmpDir.file("import/lib_debug.lib")) link.linkedFile.set(tmpDir.file("ignore-me")) then: link.importLibrary.get().asFile == tmpDir.file("import/lib_debug.lib") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.9K bytes - Viewed (0) -
build-logic/packaging/src/main/kotlin/gradlebuild/packaging/tasks/PluginsManifest.kt
@get:OutputFile abstract val manifestFile: RegularFileProperty @TaskAction fun generate() { ReproduciblePropertiesWriter.store(createProperties(), manifestFile.get().asFile) } private fun createProperties() = Properties().also { properties -> properties["plugins"] = (plugins.get() - core.get()).joinForProperties() } private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.3K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/multiproject/dependencies-outgoingArtifact/groovy/producer/build.gradle
version = project.version outputFile = layout.buildDirectory.file('generated-resources/build-info.properties') } sourceSets { main { output.dir(buildInfo.map { it.outputFile.asFile.get().parentFile }) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 339 bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy
@TaskAction def transform() { XIncludeAwareXmlProvider provider = new XIncludeAwareXmlProvider() provider.parse(sourceFile.get().asFile) transformImpl(provider.document) provider.write(destFile.get().asFile) } private def transformImpl(Document doc) { use(BuildableDOMCategory) { addVersionInfo(doc) transformApiLinks(doc)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 5.6K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/build-organization/cross-project-output-sharing/groovy/producer/build.gradle
def makeFile = tasks.register("makeFile") { def sharedFile = layout.buildDirectory.file("some-subdir/shared-file.txt") outputs.file(sharedFile) doFirst { sharedFile.get().asFile << "This file is shared across Gradle subprojects." } } configurations { sharedConfiguration { canBeResolved = false } } artifacts { sharedConfiguration(makeFile)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 389 bytes - Viewed (0) -
platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformTestFixture.groovy
@Input final Property<String> entryName = project.objects.property(String).convention("thing.class") @TaskAction def go() { def file = output.get().asFile file.withOutputStream { println "write \${entryName.get()} with timestamp \${timestamp.get()} and content \${content.get()}" def jarFile = new JarOutputStream(it) try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Oct 20 15:06:39 UTC 2023 - 21.7K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/resources/org/gradle/api/tasks/javadoc/JavadocIntegrationTest/handlesTagsAndTaglets/build.gradle
options { tags 'author' tags 'deprecated' tags 'customtag:t:"Custom Tag:"' taglets 'CustomTaglet' tagletPath sourceSets.taglet.java.destinationDirectory.get().asFile }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 459 bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformInputArtifactIntegrationTest.groovy
@InputArtifact abstract Provider<FileSystemLocation> getInputArtifact() void transform(TransformOutputs outputs) { def input = inputArtifact.get().asFile println "processing \${input.name}" assert input.file } } """ when: executer.withArgument("--continue")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Oct 27 19:15:32 UTC 2023 - 51.9K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 26 13:50:17 UTC 2023 - 3.8K bytes - Viewed (0)