- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 83 for copySpec (0.15 sec)
-
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/CopySpecExtensions.kt
* limitations under the License. */ package org.gradle.kotlin.dsl import org.gradle.api.file.CopySpec import java.io.FilterReader /** * Adds a content filter to be used during the copy. * * @see [CopySpec.filter] */ inline fun <reified T : FilterReader> CopySpec.filter(vararg properties: Pair<String, Any?>) = filter(mapOf(*properties), T::class.java) /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 1.1K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/CopySpecMatchingTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 28 12:39:32 UTC 2023 - 5K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/DefaultKotlinScript.kt
fileOperations.tarTree(tarPath) override fun copy(configuration: Action<CopySpec>): WorkResult = fileOperations.copy(configuration) override fun copySpec(): CopySpec = fileOperations.copySpec() override fun copySpec(configuration: Action<CopySpec>): CopySpec = copySpec().also(configuration::execute) override fun mkdir(path: Any): File =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 07 22:41:55 UTC 2023 - 6.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/DefaultFileSystemOperationsTest.groovy
private DefaultFileSystemOperations fileSystemOperations = new DefaultFileSystemOperations(objectFactory, fileOperations) def 'copySpec forwards to FileOperations::copySpec'() { when: fileSystemOperations.copySpec() then: 1 * fileOperations.copySpec() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 07:37:00 UTC 2023 - 1.2K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/DecorateReleaseNotes.java
@TaskAction public void transform() { File destinationFile = getDestinationFile().get().getAsFile(); getFs().copy(copySpec -> { copySpec.from(getHtmlFile()); copySpec.into(destinationFile.getParentFile()); copySpec.rename(s -> destinationFile.getName()); // TODO: Maybe this could be simplified by not using the copy infrastructure and just
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 28 06:35:15 UTC 2021 - 4.1K bytes - Viewed (0) -
platforms/jvm/ear/src/main/java/org/gradle/plugins/ear/Ear.java
* @return The created {@code CopySpec} * @since 3.5 */ public CopySpec lib(Action<? super CopySpec> configureAction) { CopySpec copySpec = getLib(); configureAction.execute(copySpec); return copySpec; } /** * The name of the library directory in the EAR file. Default is "lib". */ @Nullable @Optional @Input
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 10.8K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/api/HasImplicitReceiver.java
* invocation ({@code this} in Kotlin, {@code delegate} in Groovy) as if * the lambda expression was an extension method of the parameter type. * * <pre> * // copySpec(Action<CopySpec>) * copySpec { * from("./sources") // the given CopySpec is the implicit receiver * } * </pre> * * @since 3.5 */ @Documented @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/jvm/plugins-application/src/main/java/org/gradle/api/plugins/internal/DefaultApplicationPluginConvention.java
private String executableDir = "bin"; private CopySpec applicationDistribution; private final Project project; @Inject public DefaultApplicationPluginConvention(Project project) { this.project = project; applicationDistribution = project.copySpec(); } @Override @SuppressWarnings("deprecation") public TypeOf<?> getPublicType() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 23:38:57 UTC 2024 - 3.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/file/DefaultFileOperations.java
public WorkResult copy(Action<? super CopySpec> action) { return fileCopier.copy(action); } @Override public WorkResult sync(Action<? super SyncSpec> action) { return fileCopier.sync(action); } public CopySpec copySpec(Action<? super CopySpec> action) { CopySpec copySpec = copySpec(); action.execute(copySpec); return copySpec; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 15:15:04 UTC 2024 - 14K bytes - Viewed (0) -
platforms/software/plugins-distribution/src/main/java/org/gradle/api/distribution/Distribution.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Oct 20 20:49:58 UTC 2023 - 2.3K bytes - Viewed (0)