- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 68 for copySpec (0.19 sec)
-
subprojects/core/src/main/java/org/gradle/api/internal/file/copy/CopySpecWrapper.java
@Override public CopySpec into(Object destPath, Closure configureClosure) { return delegate.into(destPath, configureClosure); } @Override public CopySpec into(Object destPath, Action<? super CopySpec> copySpec) { return delegate.into(destPath, copySpec); } @Override public CopySpec rename(final Closure closure) { delegate.rename(new ClosureBackedTransformer(closure));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 01 10:41:40 UTC 2024 - 9.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/file/copy/DefaultCopySpec.java
return copyActions; } @Override public CopySpec with(CopySpec... copySpecs) { for (CopySpec copySpec : copySpecs) { CopySpecInternal copySpecInternal; if (copySpec instanceof CopySpecSource) { CopySpecSource copySpecSource = (CopySpecSource) copySpec; copySpecInternal = copySpecSource.getRootSpec(); } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 15:25:10 UTC 2024 - 33.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/file/copy/DelegatingCopySpecInternal.java
public CopySpec into(Object destPath, Action<? super CopySpec> copySpec) { return getDelegateCopySpec().into(destPath, copySpec); } @Override public CopySpec rename(Closure closure) { return getDelegateCopySpec().rename(closure); } @Override public CopySpec rename(Transformer<String, String> renamer) { return getDelegateCopySpec().rename(renamer); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 01 10:41:40 UTC 2024 - 10.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/file/DefaultFileSystemOperations.java
this.fileOperations = fileOperations; } @Override public CopySpec copySpec(Action<? super CopySpec> action) { return Actions.with(copySpec(), action); } @Override public CopySpec copySpec() { return fileOperations.copySpec(); } @Override public WorkResult copy(Action<? super CopySpec> action) { return fileOperations.copy(action); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 07:37:00 UTC 2023 - 3.4K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/file/FileSystemOperations.java
/** * Creates a {@link CopySpec} which can later be used to copy files or create an archive. The given action is used * to configure the {@link CopySpec} before it is returned by this method. * * @param action Action to configure the CopySpec * @return The CopySpec * @since 8.5 */ @Incubating CopySpec copySpec(Action<? super CopySpec> action); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 15 08:02:27 UTC 2024 - 5.2K bytes - Viewed (0) -
platforms/software/plugins-distribution/src/main/java/org/gradle/api/distribution/internal/DefaultDistribution.java
import org.gradle.api.distribution.Distribution; import org.gradle.api.file.CopySpec; import javax.inject.Inject; /** * Allow user to declare a distribution. */ public abstract class DefaultDistribution implements Distribution { private final String name; private final CopySpec contents; @Inject public DefaultDistribution(String name, CopySpec contents) { this.name = name; this.contents = contents;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Oct 20 20:49:58 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/DefaultCopySpecCodec.kt
val copySpec = DefaultCopySpec(fileCollectionFactory, objectFactory, instantiator, patternSetFactory, destPath, sourceFiles, patterns, actions, children) copySpec.duplicatesStrategy = duplicatesStrategy copySpec.includeEmptyDirs = includeEmptyDirs copySpec.isCaseSensitive = isCaseSensitive copySpec.filteringCharset = filteringCharset
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 4.4K bytes - Viewed (0) -
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) -
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)