- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 144 for asFile (0.12 sec)
-
settings.gradle.kts
abstract val outputFile: RegularFileProperty @get:Input abstract val elements: ListProperty<ArchitectureElement> @TaskAction fun generate() { val markdownFile = outputFile.asFile.get() val head = if (markdownFile.exists()) { val content = markdownFile.readText().lines() val markerPos = content.indexOfFirst { it.contains(markerComment) } if (markerPos < 0) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:14 UTC 2024 - 16.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyLifecycleIntegrationTest.groovy
@OutputFile final Property<RegularFile> outputFile = project.objects.fileProperty() @TaskAction void go() { outputFile.get().asFile.text = prop.get() } } task thing(type: SomeTask) { prop = "value 1" outputFile = layout.buildDirectory.file("out.txt")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 04 14:00:52 UTC 2024 - 15K bytes - Viewed (0) -
platforms/jvm/language-groovy/src/main/java/org/gradle/api/tasks/javadoc/Groovydoc.java
); } @Nullable private String getPathToOverview() { TextResource overview = getOverviewText(); if (overview != null) { return overview.asFile().getAbsolutePath(); } return null; } private void checkGroovyClasspathNonEmpty(Collection<File> classpath) { if (classpath.isEmpty()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 14.1K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/ParallelTaskExecutionIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 14:00:51 UTC 2024 - 21K bytes - Viewed (0) -
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) -
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)