Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for GeneratedResource$Location (0.96 sec)

  1. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/processing/AggregatingFilerTest.groovy

            where:
            inputLocation                         | resultLocation
            StandardLocation.SOURCE_OUTPUT        | GeneratedResource.Location.SOURCE_OUTPUT
            StandardLocation.CLASS_OUTPUT         | GeneratedResource.Location.CLASS_OUTPUT
            StandardLocation.NATIVE_HEADER_OUTPUT | GeneratedResource.Location.NATIVE_HEADER_OUTPUT
        }
    
        def "resources with same path but different location are distinct"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/transaction/CompileTransaction.java

            });
            return filesToDelete;
        }
    
        private Map<GeneratedResource.Location, PatternSet> getNewGeneratedResources(ApiCompilerResult result) {
            Map<GeneratedResource.Location, PatternSet> resourcesByLocation = new EnumMap<>(GeneratedResource.Location.class);
            Stream.of(GeneratedResource.Location.values()).forEach(location -> resourcesByLocation.put(location, fileOperations.patternSet()));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/compilerapi/deps/DependentSetSerializer.java

            count = decoder.readSmallInt();
            for (int i = 0; i < count; i++) {
                GeneratedResource.Location location = GeneratedResource.Location.values()[decoder.readSmallInt()];
                String path = nameSerializer.read(decoder);
                resourceBuilder.add(new GeneratedResource(location, path));
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Feb 24 12:57:52 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/processing/GeneratedResourceSerializer.java

    import org.gradle.internal.serialize.Serializer;
    
    public class GeneratedResourceSerializer extends AbstractSerializer<GeneratedResource> {
        private static final Serializer<GeneratedResource.Location> LOCATION_SERIALIZER = new BaseSerializerFactory().getSerializerFor(GeneratedResource.Location.class);
        private final Serializer<String> stringSerializer;
    
        public GeneratedResourceSerializer(Serializer<String> stringSerializer) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/recomp/AbstractRecompilationSpecProvider.java

        }
    
        private static Map<GeneratedResource.Location, PatternSet> prepareResourcePatterns(Collection<GeneratedResource> staleResources, FileOperations fileOperations) {
            Map<GeneratedResource.Location, PatternSet> resourcesByLocation = new EnumMap<>(GeneratedResource.Location.class);
            for (GeneratedResource.Location location : GeneratedResource.Location.values()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:55:46 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/processing/IsolatingProcessingStrategy.java

        }
    
        @Override
        public void recordGeneratedResource(JavaFileManager.Location location, CharSequence pkg, CharSequence relativeName, Element[] originatingElements) {
            GeneratedResource.Location resourceLocation = GeneratedResource.Location.from(location);
            if (resourceLocation == null) {
                result.setFullRebuildCause(location + " is not supported for incremental annotation processing");
                return;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/compilerapi/deps/GeneratedResource.java

        }
    
        private final Location location;
        private final String path;
    
        public GeneratedResource(Location location, CharSequence pkg, CharSequence relativeName) {
            this(location, pkg.length() == 0 ? relativeName.toString() : pkg.toString().replace('.', '/') + '/' + relativeName);
        }
    
        public GeneratedResource(Location location, String path) {
            this.location = location;
            this.path = path;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/processing/IsolatingFilerTest.groovy

            where:
            inputLocation                         | resultLocation
            StandardLocation.SOURCE_OUTPUT        | GeneratedResource.Location.SOURCE_OUTPUT
            StandardLocation.CLASS_OUTPUT         | GeneratedResource.Location.CLASS_OUTPUT
            StandardLocation.NATIVE_HEADER_OUTPUT | GeneratedResource.Location.NATIVE_HEADER_OUTPUT
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 5K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/processing/AggregatingProcessingStrategy.java

        }
    
        @Override
        public void recordGeneratedResource(JavaFileManager.Location location, CharSequence pkg, CharSequence relativeName, Element[] originatingElements) {
            GeneratedResource.Location resourceLocation = GeneratedResource.Location.from(location);
            if (resourceLocation == null) {
                result.setFullRebuildCause(location + " is not supported for incremental annotation processing");
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 29 15:12:07 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/incremental/transaction/CompileTransactionTest.groovy

    import static org.gradle.api.internal.tasks.compile.incremental.compilerapi.deps.GeneratedResource.Location.CLASS_OUTPUT
    import static org.gradle.api.internal.tasks.compile.incremental.compilerapi.deps.GeneratedResource.Location.NATIVE_HEADER_OUTPUT
    import static org.gradle.api.internal.tasks.compile.incremental.compilerapi.deps.GeneratedResource.Location.SOURCE_OUTPUT
    
    class CompileTransactionTest extends Specification {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 18K bytes
    - Viewed (0)
Back to top