Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 64 for copySpec (0.28 sec)

  1. subprojects/core-api/src/main/java/org/gradle/api/Script.java

         * method.
         *
         * @param closure Closure to configure the CopySpec
         * @return The CopySpec
         */
        CopySpec copySpec(Closure closure);
    
        /**
         * Creates a directory and returns a file pointing to it.
         *
         * @param path The path for the directory to be created. Evaluated as per {@link #file(Object)}.
         * @return the created directory
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-application/src/main/java/org/gradle/api/plugins/internal/DefaultJavaApplication.java

            DeprecationLogger.whileDisabled(() -> convention.setExecutableDir(executableDir));
        }
    
        @Override
        public CopySpec getApplicationDistribution() {
            return DeprecationLogger.whileDisabled(convention::getApplicationDistribution);
        }
    
        @Override
        public void setApplicationDistribution(CopySpec applicationDistribution) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/internal/precompiled/CompileGroovyScriptPluginsTask.java

                compileBuildScript(scriptPlugin, compileClassLoader);
            }
    
            fileSystemOperations.sync(copySpec -> {
                copySpec.from(intermediatePluginClassesDirectory.get().getAsFileTree().getFiles());
                copySpec.into(getPrecompiledGroovyScriptsOutputDirectory());
            });
            ClassLoaderUtils.tryClose(compileClassLoader);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DuplicateHandlingCopyActionExecutorTest.groovy

                }
                fileTree
            }
            copySpec.walk(_) >> { Action it -> it.execute(copySpecResolver) }
        }
    
        void actions(Closure... actions) {
            copySpecResolver.allCopyActions >> actions.collect { new ClosureBackedAction<>(it) }
        }
    
        void visit() {
            executer.execute(copySpec, delegate)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 02 14:30:00 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/api/groovy_build_script_primer.adoc

     * For `Action` arguments, look at the type's parameter.
    +
    In the example above, the method signature is `copy(Action<? super CopySpec>)` and it's the bit inside the angle brackets that tells you the delegate type — link:{javadocPath}/org/gradle/api/file/CopySpec.html[CopySpec] in this case.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 20:23:16 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ProblemReportingCrossProjectModelAccess.kt

            override fun copy(action: Action<in CopySpec>): WorkResult {
                onAccess("copy")
                return delegate.copy(action)
            }
    
            override fun copySpec(closure: Closure<*>): CopySpec {
                onAccess("copySpec")
                return delegate.copySpec(closure)
            }
    
            override fun copySpec(action: Action<in CopySpec>): CopySpec {
                onAccess("copySpec")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/DestinationRootCopySpec.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.api.internal.file.copy;
    
    import org.gradle.api.file.CopySpec;
    import org.gradle.internal.file.PathToFileResolver;
    
    import javax.inject.Inject;
    import java.io.File;
    
    public class DestinationRootCopySpec extends DelegatingCopySpecInternal {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 02 14:30:00 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/working_with_files.adoc

    The link:{javadocPath}/org/gradle/api/file/CopySpec.html[CopySpec] interface, which the `Copy` task implements, offers:
    
    * A link:{javadocPath}/org/gradle/api/file/CopySpec.html#from-java.lang.Object++...++-[CopySpec.from(java.lang.Object...)] method to define what to copy
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 70.5K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/files/copy/groovy/build.gradle

        dependsOn tasks.withType(Copy)
        dependsOn copyMethod
        dependsOn copyMethodWithExplicitDependencies
    }
    
    def appClasses = layout.buildDirectory.dir('classes')
    
    // tag::standalone-copyspec[]
    CopySpec webAssetsSpec = copySpec {
        from 'src/main/webapp'
        include '**/*.html', '**/*.png', '**/*.jpg'
        rename '(.+)-staging(.+)', '$1$2'
    }
    
    tasks.register('copyAssets', Copy) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/tasks/InstallExecutable.java

        }
    
        private void installToDir(final File binaryDir, final File executableFile, final Collection<File> libs) {
            getFileSystemOperations().sync(copySpec -> {
                copySpec.into(binaryDir);
                copySpec.from(executableFile);
                copySpec.from(libs);
            });
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9K bytes
    - Viewed (0)
Back to top