- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 579 for asFile (0.12 sec)
-
testing/integ-test/src/integTest/groovy/org/gradle/integtests/DependencyResolutionFromTaskContextIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.9K bytes - Viewed (0) -
platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/TemplateFactoryTest.groovy
when: factory.fromSourceTemplate("someTemplate/SomeClazz.somelang.template", sourceSet) then: 1 * targetDir.file(target) >> targetFile 1 * targetFile.asFile >> targetAsFile 1 * templateOperationFactory.newTemplateOperation() >> templateOperationBuilder 1 * templateOperationBuilder.withTemplate("someTemplate/SomeClazz.somelang.template") >> templateOperationBuilder
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 20:26:42 UTC 2023 - 7.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/FileOrUriNotationConverterTest.groovy
def notation = Stub(RegularFile) notation.asFile >> testFile when: def object = parse(notation) then: object == testFile } def "with Directory returns the File it represents"() { setup: def testFile = folder.createFile("test1") def notation = Stub(Directory) notation.asFile >> testFile when: def object = parse(notation)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 19 16:59:26 UTC 2023 - 5.7K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/build-organization/cross-project-output-sharing/kotlin/producer/build.gradle.kts
val makeFile = tasks.register("makeFile") { val sharedFile = layout.buildDirectory.file("some-subdir/shared-file.txt") outputs.file(sharedFile) doFirst { sharedFile.get().asFile.writeText("This file is shared across Gradle subprojects.") } } val sharedConfiguration by configurations.creating { isCanBeResolved = false } artifacts { add(sharedConfiguration.name, makeFile)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 409 bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 30.3K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/api/plugins/JvmToolchainsPluginTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 10 18:03:55 UTC 2024 - 1.4K bytes - Viewed (0) -
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) -
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) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskActionIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 4.1K bytes - Viewed (0) -
build-logic/lifecycle/src/main/kotlin/gradlebuild.teamcity-import-test-data.gradle.kts
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 06 09:11:39 UTC 2023 - 3.1K bytes - Viewed (0)