- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 579 for asFile (0.21 sec)
-
build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportAggregationWorkAction.kt
else -> "Incubating since $version" } private fun generateReport(data: Map<String, ReportNameToProblems>) { val outputFile = parameters.htmlReportFile.get().asFile outputFile.parentFile.mkdirs() outputFile.printWriter(Charsets.UTF_8).use { writer -> writer.println( """<html lang="en"> <head>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 18 06:55:55 UTC 2021 - 3.4K bytes - Viewed (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt
} } } private fun forEachJavaProcess(action: (pid: String, line: String) -> Unit) { KillLeakingJavaProcesses.forEachLeakingJavaProcess(parameters.rootProjectDir.asFile.get(), action) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 08 12:45:57 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/BuildSrcClassPathModeConfigurationAction.kt
@get:OutputFile val destinationFile = project.objects.fileProperty() @TaskAction @Suppress("unused") fun generateSourcePathFile() = destinationFile.get().asFile.printWriter().use { writer -> sourceRoots.get().forEach { sourceRoot -> writer.print(sourceRoot) writer.print("\n") } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Oct 06 15:06:32 UTC 2023 - 3.6K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/SkipWhenEmptyIntegrationTest.groovy
abstract RegularFileProperty getOutputFile() @TaskAction void doStuff() { println("Running...") outputFile.get().asFile.text = "executed" } } """ }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 23 15:09:05 UTC 2022 - 3.5K bytes - Viewed (0) -
build-logic/kotlin-dsl/src/main/kotlin/gradlebuild.kotlin-dsl-dependencies-embedded.gradle.kts
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat May 25 22:44:42 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformIsolationIntegrationTest.groovy
CountRecorder() { println "Creating CountRecorder" } void transform(TransformOutputs outputs) { def input = inputArtifact.get().asFile def output = outputs.file(input.name + ".txt") def counter = parameters.counter println "Transforming \${input.name} to \${output.name}"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 10.8K bytes - Viewed (0) -
build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt
if (hasLeftover) { doFirst { project.layout.buildDirectory.file("tmp/teŝt files/leftover/leftover").get().asFile.apply { parentFile.mkdirs() createNewFile() } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 14 12:35:52 UTC 2023 - 10.6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/BinaryCompatibilityHelper.groovy
def acceptedChangesMap = acceptedViolations.toAcceptedChangesMap() def mainApiChangesJsonFilePath = mainApiChangesJsonFile.path def projectRootDirPath = projectRootDir.asFile.path richReport.get().tap { addRule(IncubatingInternalInterfaceAddedRule, [ acceptedApiChanges: acceptedChangesMap,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 6.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tasks/incrementalBuild-customTaskClass/kotlin/build.gradle.kts
// tag::adhoc-destroyable-task[] tasks.register("removeTempDir") { val tmpDir = layout.projectDirectory.dir("tmpDir") destroyables.register(tmpDir) doLast { tmpDir.asFile.deleteRecursively() } } // end::adhoc-destroyable-task[] tasks.build { dependsOn(processTemplates, "processTemplatesAdHoc", "processTemplatesAdHocSkipWhenEmpty", "processTemplatesWithExtraInputs")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 3.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy
@InputArtifact abstract Provider<FileSystemLocation> getInputArtifact() private File getInput() { inputArtifact.get().asFile } void transform(TransformOutputs outputs) { def output = outputs.file(input.name + ".txt")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 11:52:44 UTC 2024 - 97.8K bytes - Viewed (0)