- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 83 for copySpec (0.19 sec)
-
subprojects/core-api/src/main/java/org/gradle/api/file/CopySourceSpec.java
* @param configureClosure closure for configuring the child CopySourceSpec */ CopySourceSpec from(Object sourcePath, @DelegatesTo(CopySpec.class) Closure configureClosure); /** * Specifies the source files or directories for a copy and creates a child {@code CopySpec}. The given source * path is evaluated as per {@link org.gradle.api.Project#files(Object...)} . *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 06 22:26:55 UTC 2022 - 1.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/groovy/scripts/DefaultScript.java
} public WorkResult copy(Action<? super CopySpec> action) { return fileOperations.copy(action); } public WorkResult sync(Action<? super CopySpec> action) { return fileOperations.sync(action); } @Override public CopySpec copySpec(Closure closure) { return Actions.with(copySpec(), ConfigureUtil.configureUsing(closure)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 9.4K bytes - Viewed (0) -
platforms/jvm/platform-jvm/src/test/groovy/org/gradle/jvm/tasks/JarTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 2.4K bytes - Viewed (0) -
build-logic/packaging/src/main/kotlin/gradlebuild/packaging/GradleDistributionSpecs.kt
import java.io.File object GradleDistributionSpecs { /** * The binary distribution containing everything needed to run Gradle (and nothing else). */ fun Project.binDistributionSpec() = copySpec { val gradleScriptPath by configurations.getting val coreRuntimeClasspath by configurations.getting val runtimeClasspath by configurations.getting val runtimeApiInfoJar by tasks.getting
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 12:35:42 UTC 2024 - 4.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DefaultCopySpecTest.groovy
when: CopySpec child = spec.into('target') {} then: !child.is(spec) unpackWrapper(child).buildRootResolver().destPath == relativeDirectory('target') } def 'into with Action'() { when: CopySpec child = spec.into('target', new Action<CopySpec>() { @Override void execute(CopySpec copySpec) {} })
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 26 08:05:50 UTC 2023 - 14.7K bytes - Viewed (0) -
platforms/jvm/plugins-application/src/main/java/org/gradle/api/plugins/ApplicationPlugin.java
TaskProvider<Task> startScripts = project.getTasks().named(TASK_START_SCRIPTS_NAME); CopySpec libChildSpec = project.copySpec(); libChildSpec.into("lib"); libChildSpec.from(jar); libChildSpec.from(mainFeature.getRuntimeClasspathConfiguration()); CopySpec binChildSpec = project.copySpec(); binChildSpec.into((Callable<Object>) pluginExtension::getExecutableDir);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 23:38:57 UTC 2024 - 11.9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/SettingsScriptApi.kt
*/ @Suppress("unused") fun copySpec(): CopySpec = fileOperations.copySpec() /** * Creates a {@link CopySpec} which can later be used to copy files or create an archive. * * @param configuration The block to use to configure the [CopySpec]. * @return The configured [CopySpec] */ @Suppress("unused")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 15.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/file/FileOperations.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 2.5K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/KotlinScript.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 12.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/tasks/bundling/AbstractArchiveTask.java
* * @param destPath destination directory *inside* the archive for the files * @param copySpec The closure to use to configure the child {@code CopySpec}. * @return this */ @Override public CopySpec into(Object destPath, Action<? super CopySpec> copySpec) { super.into(destPath, copySpec); return this; } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 17 20:38:33 UTC 2022 - 12.6K bytes - Viewed (0)