Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for generateResource (0.21 sec)

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

        }
    
        ExecutableElement methodInside(String typeName) {
            Stub(ExecutableElement) {
                getEnclosingElement() >> type(typeName)
            }
        }
    
        GeneratedResource sourceResource(String path) {
            new GeneratedResource(GeneratedResource.Location.SOURCE_OUTPUT, path)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/processing/AnnotationProcessorResult.java

     * limitations under the License.
     */
    
    package org.gradle.api.internal.tasks.compile.incremental.processing;
    
    import org.gradle.api.internal.tasks.compile.incremental.compilerapi.deps.GeneratedResource;
    
    import java.io.Serializable;
    import java.util.Set;
    
    public class AnnotationProcessorResult implements Serializable {
    
        private final AnnotationProcessingResult processingResult;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/compilerapi/deps/DependentsSet.java

            private final Set<String> privateDependentClasses;
            private final Set<String> accessibleDependentClasses;
            private final Set<GeneratedResource> dependentResources;
    
            private DefaultDependentsSet(Set<String> privateDependentClasses, Set<String> accessibleDependentClasses, Set<GeneratedResource> dependentResources) {
                this.privateDependentClasses = privateDependentClasses;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/recomp/RecompilationSpec.java

            return Collections.unmodifiableCollection(classesToProcess);
        }
    
        public void addResourcesToGenerate(Collection<GeneratedResource> resources) {
            resourcesToGenerate.addAll(resources);
        }
    
        public Collection<GeneratedResource> getResourcesToGenerate() {
            return Collections.unmodifiableCollection(resourcesToGenerate);
        }
    
        public void addSourcePath(String sourcePath) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/processing/IsolatingFilerTest.groovy

            then:
            result.generatedResourcesWithIsolatedOrigin["A"] == [new GeneratedResource(resultLocation, "foo.txt")] as Set
    
            where:
            inputLocation                         | resultLocation
            StandardLocation.SOURCE_OUTPUT        | GeneratedResource.Location.SOURCE_OUTPUT
            StandardLocation.CLASS_OUTPUT         | GeneratedResource.Location.CLASS_OUTPUT
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 5K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/PCHUtils.java

            generatedSourceDir.mkdirs();
            File generatedSource = new File(generatedSourceDir, FilenameUtils.removeExtension(sourceFile.getName()).concat(getSourceFileExtension(original.getClass())));
            File headerFileCopy = new File(generatedSourceDir, sourceFile.getName());
            try {
                FileUtils.copyFile(sourceFile, headerFileCopy);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/processing/AggregatingProcessingStrategy.java

            GeneratedResource.Location resourceLocation = GeneratedResource.Location.from(location);
            if (resourceLocation == null) {
                result.setFullRebuildCause(location + " is not supported for incremental annotation processing");
            } else {
                result.getGeneratedAggregatingResources().add(new GeneratedResource(resourceLocation, pkg, relativeName));
            }
        }
    
    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/documentation/docs/src/snippets/providers/fileAndDirectoryProperty/kotlin/build.gradle.kts

    // A task that generates a source file and writes the result to an output directory
    abstract class GenerateSource : DefaultTask() {
        // The configuration file to use to generate the source file
        @get:InputFile
        abstract val configFile: RegularFileProperty
    
        // The directory to write source files to
        @get:OutputDirectory
        abstract val outputDir: DirectoryProperty
    
        @TaskAction
        fun compile() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top