- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 579 for asFile (0.1 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/Docbook2Xhtml.groovy
@TaskAction def transform() { logging.captureStandardOutput(LogLevel.INFO) logging.captureStandardError(LogLevel.INFO) def destDir = destinationDirectory.get().asFile fs.delete { delete(destDir, temporaryDir) } def xslClasspath = classpath.plus(objects.fileCollection().from(ClasspathUtil.getClasspathForClass(XslTransformer))) fs.copy {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 4.7K bytes - Viewed (0) -
platforms/software/platform-base/src/test/groovy/org/gradle/api/plugins/DefaultBasePluginConventionTest.groovy
convention.distsDirName == 'distributions' convention.distsDirectory.getAsFile().get() == project.layout.buildDirectory.dir('distributions').get().asFile convention.libsDirName == 'libs' convention.libsDirectory.getAsFile().get() == project.layout.buildDirectory.dir('libs').get().asFile } def "dirs relative to build dir"() { when: project.buildDir = project.file('mybuild')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 4.5K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/GeneratePrecompiledScriptPluginAccessors.kt
} } } private fun recreateTaskDirectories() { recreate(temporaryDir) recreate(sourceCodeOutputDir.get().asFile) recreate(metadataOutputDir.get().asFile) } private fun IO.generateTypeSafeAccessorsFor(projectScriptPlugins: List<PrecompiledScriptPlugin>) { resolvePluginGraphOf(projectScriptPlugins) .groupBy(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 08:10:49 UTC 2024 - 24.8K bytes - Viewed (0) -
platforms/software/testing-base/src/testFixtures/groovy/org/gradle/testing/AbstractTestFrameworkIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 12.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/ivy-publish/descriptor-customization/groovy/build.gradle
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/failures/verificationFailure/kotlin/build.gradle.kts
val process = tasks.register("process") { val outputFile = layout.buildDirectory.file("processed.log") outputs.files(outputFile) // <1> doLast { val logFile = outputFile.get().asFile logFile.appendText("Step 1 Complete.") // <2> throw VerificationException("Process failed!") // <3> logFile.appendText("Step 2 Complete.") // <4> } } tasks.register("postProcess") {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 21 20:24:16 UTC 2023 - 1.2K bytes - Viewed (0) -
build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt
val unixScriptFile = startScriptsDir.file("gradle").get().asFile generator.generateUnixScript(unixScriptFile) unixScriptFile.injectAgentOptions(TextUtil.getUnixLineSeparator()) val windowsScriptFile = startScriptsDir.file("gradle.bat").get().asFile generator.generateWindowsScript(windowsScriptFile)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 24 10:25:27 UTC 2023 - 6.3K bytes - Viewed (0) -
build-logic/publishing/src/main/kotlin/gradlebuild.publish-public-libraries.gradle.kts
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 11:35:57 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/organizingGradleProjects/customGradleDistribution/groovy/buildSrc/src/main/groovy/org/gradle/distribution/DownloadGradle.groovy
@TaskAction void doDownloadGradle() { URL downloadUrl = new URL(gradleDownloadBase.get() + "/" + downloadFileName.get()) destinationFile.get().asFile.withOutputStream { it << downloadUrl.newInputStream() } } @Internal Provider<String> getDistributionNameBase() { return gradleVersion.map { "gradle-" + it } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.2K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/GenerateSubprojectsInfo.kt
@DisableCachingByDefault(because = "Not worth caching") abstract class GenerateSubprojectsInfo : SubprojectsInfo() { @TaskAction fun generateSubprojectsInfo() { subprojectsJson.asFile.writeText(generateSubprojectsJson()) } companion object { internal const val TASK_NAME = "generateSubprojectsInfo" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jul 08 13:44:59 UTC 2021 - 1.1K bytes - Viewed (0)