Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for InPlaceClasspathBuilder (0.43 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/classpath/InPlaceClasspathBuilder.java

    import java.io.IOException;
    import java.nio.file.Files;
    import java.nio.file.StandardOpenOption;
    import java.util.HashSet;
    import java.util.Objects;
    import java.util.Set;
    
    @NonNullApi
    public class InPlaceClasspathBuilder implements ClasspathBuilder {
        private static final int BUFFER_SIZE = 8192;
    
        @Override
        public void jar(File jarFile, Action action) {
            try {
                buildJar(jarFile, action);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 14:05:09 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/initialization/transform/services/InjectedInstrumentationServices.java

            () -> new ClasspathElementTransformFactoryForAgent(new InPlaceClasspathBuilder(), getClasspathWalker())
        );
        private final Lazy<ClasspathElementTransformFactoryForLegacy> legacyTransformFactory = Lazy.locking().of(
            () -> new ClasspathElementTransformFactoryForLegacy(new InPlaceClasspathBuilder(), getClasspathWalker())
        );
    
        public InjectedInstrumentationServices() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 27 13:36:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/classpath/DefaultClasspathBuilder.java

     * You can use {@link InPlaceClasspathBuilder} if you want to avoid this indirection and write directly to the destination file.
     * <p>
     * If you execute work where output integrity and atomicity is enforced (e.g. with execution engine) you should prefer {@link InPlaceClasspathBuilder},
     * otherwise this implementation can help you to avoid having partially written files.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/internal/classpath/InPlaceClasspathBuilderTest.groovy

    class InPlaceClasspathBuilderTest extends Specification {
        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(InPlaceClasspathBuilderTest)
        InPlaceClasspathBuilder builder = new InPlaceClasspathBuilder()
    
        def "creates an empty jar"() {
            def file = tmpDir.file("thing.zip")
    
            when:
            builder.jar(file) {}
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 14:05:09 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top