Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for buildHierarchy (0.15 sec)

  1. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/WatchedHierarchiesTest.groovy

            def watched = resolveWatchedFiles(watchable, buildHierarchy([]))
            then:
            rootsOf(watched) == []
            1 * watchable.stream() >> Stream.of()
        }
    
        def "watches empty directory"() {
            def watchable = Mock(WatchableHierarchies)
            def dir = new File("empty").absoluteFile
    
            when:
            def watched = resolveWatchedFiles(watchable, buildHierarchy([
                directory(dir.absolutePath, [])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:38:01 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/tooling/GradleProjectBuilder.java

            boolean realizeTasks = GradleProjectBuilderOptions.shouldRealizeTasks();
            return buildHierarchy(project.getRootProject(), realizeTasks);
        }
    
        /**
         * When {@code realizeTasks} is false, the project's task graph will not be realized, and the task list in the model will be empty
         */
        private static DefaultGradleProject buildHierarchy(Project project, boolean realizeTasks) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 13:57:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/testFixtures/groovy/org/gradle/internal/snapshot/TestSnapshotFixture.groovy

            new MissingFileSnapshot(
                absolutePath,
                accessType
            )
        }
    
        static SnapshotHierarchy buildHierarchy(CaseSensitivity caseSensitivity = CaseSensitivity.CASE_INSENSITIVE, List<FileSystemLocationSnapshot> snapshots) {
            SnapshotHierarchy root = DefaultSnapshotHierarchy.empty(caseSensitivity)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/internal/tooling/EclipseModelBuilder.java

                    }
                }
            }
        }
    
        private DefaultEclipseProject buildHierarchy(Project project) {
            List<DefaultEclipseProject> children = new ArrayList<>();
            for (Project child : getChildProjectsForInternalUse(project)) {
                children.add(buildHierarchy(child));
            }
    
            EclipseModel eclipseModel = project.getExtensions().getByType(EclipseModel.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 26.3K bytes
    - Viewed (0)
Back to top