Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for getJavaTestAndMainSourceResources (0.2 seconds)

  1. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/util/Util.java

         * @return Returns the combined {@link FileTree} for test and main resources from Java projects. Returns null if no files exist.
         */
        @Nullable
        public static FileTree getJavaTestAndMainSourceResources(Project project, Action<? super PatternFilterable> filter) {
            final Optional<FileTree> testFileTree = getJavaTestSourceSet(project).map(SourceSet::getResources).map(FileTree::getAsFileTree);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jul 27 15:18:50 GMT 2021
    - 5.1K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ValidateRestSpecPlugin.java

            Provider<ValidateJsonAgainstSchemaTask> validateRestSpecTask = project.getTasks()
                .register("validateRestSpec", ValidateJsonAgainstSchemaTask.class, task -> {
                    task.setInputFiles(Util.getJavaTestAndMainSourceResources(project, filter -> {
                        filter.include(DOUBLE_STAR + "/rest-api-spec/api/" + DOUBLE_STAR + "/*.json");
                        filter.exclude(DOUBLE_STAR + "/_common.json");
                    }));
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.6K bytes
    - Click Count (0)
Back to Top