Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for resolveProjectModel (0.24 sec)

  1. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/resolve/ProjectLibraryBinaryLocatorTest.groovy

        }
    
        def "locates binaries for library in other project"() {
            when:
            def requirement = new LibraryIdentifier("other", "libName")
    
            and:
            projectLocator.resolveProjectModel("other") >> projectModel
            findLibraryInProject()
    
            then:
            locator.getBinaries(requirement) == convertedBinaries
        }
    
        def "fails for unknown project"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. platforms/software/platform-base/src/main/java/org/gradle/api/internal/resolve/ProjectModelResolver.java

    /**
     * Locates another project within the multi-project build, and provides access to its model registry in a usable state.
     */
    public interface ProjectModelResolver {
        ModelRegistry resolveProjectModel(String path) throws UnknownProjectException;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1016 bytes
    - Viewed (0)
  3. platforms/ide/ide-native/src/main/java/org/gradle/ide/visualstudio/internal/VisualStudioProjectResolver.java

        }
    
        private ModelRegistry getComponentModel(VisualStudioTargetBinary nativeBinary) {
            String projectPath = nativeBinary.getProjectPath();
            return projectModelResolver.resolveProjectModel(projectPath);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. platforms/software/platform-base/src/main/java/org/gradle/api/internal/resolve/DefaultProjectModelResolver.java

        public DefaultProjectModelResolver(ProjectRegistry<ProjectInternal> delegate) {
            this.delegate = delegate;
        }
    
        @Override
        public ModelRegistry resolveProjectModel(String path) {
            ProjectInternal projectInternal = delegate.getProject(path);
            if (projectInternal == null) {
                throw new UnknownProjectException("Project with path '" + path + "' not found.");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/prebuilt/PrebuiltLibraryBinaryLocator.java

        }
    
        @Nullable
        @Override
        public DomainObjectSet<NativeLibraryBinary> getBinaries(LibraryIdentifier library) {
            ModelRegistry projectModel = projectModelResolver.resolveProjectModel(library.getProjectPath());
            Repositories repositories = projectModel.find("repositories", Repositories.class);
            if (repositories == null) {
                return null;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/resolve/ProjectLibraryBinaryLocator.java

        @Nullable
        @Override
        public DomainObjectSet<NativeLibraryBinary> getBinaries(LibraryIdentifier libraryIdentifier) {
            ModelRegistry projectModel = projectModelResolver.resolveProjectModel(libraryIdentifier.getProjectPath());
            ComponentSpecContainer components = projectModel.find("components", ComponentSpecContainer.class);
            if (components == null) {
                return null;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. platforms/ide/ide-native/src/main/groovy/org/gradle/ide/visualstudio/plugins/VisualStudioPluginRules.java

                for (ProjectInternal subproject : projectRegistry.getSubProjects(projectIdentifier.getPath())) {
                    projectModelResolver.resolveProjectModel(subproject.getPath()).find("visualStudio", VisualStudioExtension.class);
                }
            }
        }
    
        static class VisualStudioPluginProjectRules extends RuleSource {
            @Mutate
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/plugins/NativeBinariesTestPlugin.java

                                if (dependent.isBuildable() && dependent.isTestSuite()) {
                                    ModelRegistry modelRegistry = projectModelResolver.resolveProjectModel(dependent.getId().getProjectPath());
                                    ModelMap<NativeBinarySpecInternal> projectBinaries = modelRegistry.realize("binaries", ModelTypes.modelMap(NativeBinarySpecInternal.class));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/NativeComponents.java

            for (DependentBinariesResolvedResult dependent : result.getChildren()) {
                if (dependent.isBuildable()) {
                    ModelRegistry modelRegistry = projectModelResolver.resolveProjectModel(dependent.getId().getProjectPath());
                    ModelMap<NativeBinarySpecInternal> projectBinaries = modelRegistry.realize("binaries", ModelTypes.modelMap(NativeBinarySpecInternal.class));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 11K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/NativeDependentBinariesResolutionStrategy.java

            for (ProjectInternal project : orderedProjects) {
                if (project.getPlugins().hasPlugin(ComponentModelBasePlugin.class)) {
                    ModelRegistry modelRegistry = projectModelResolver.resolveProjectModel(project.getPath());
                    ModelMap<NativeComponentSpec> components = modelRegistry.realize("components", ModelTypes.modelMap(NativeComponentSpec.class));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 11.4K bytes
    - Viewed (0)
Back to top