Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for resolveComponent (3.6 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/projectmodule/DefaultProjectDependencyPublicationResolverTest.groovy

        }
    
        def resolver = new DefaultProjectDependencyPublicationResolver(registry, projectConfigurer, projects)
    
        def "resolving component configures project"() {
            when:
            resolver.resolveComponent(ModuleVersionIdentifier, project.identityPath)
    
            then:
            1 * projectConfigurer.configureFully(project.owner)
        }
    
        def "resolving variant configures project"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 19 01:37:13 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  2. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/mapping/VersionMappingComponentDependencyResolver.java

            Path identityPath = ((ProjectDependencyInternal) dependency).getIdentityPath();
            ModuleVersionIdentifier coordinates = projectDependencyResolver.resolveComponent(ModuleVersionIdentifier.class, identityPath);
            ModuleVersionIdentifier resolved = maybeResolveVersion(coordinates.getGroup(), coordinates.getName(), identityPath);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/projectmodule/ProjectDependencyPublicationResolver.java

         * project identified by {@code identityPath}.
         *
         * @throws UnsupportedOperationException if the project cannot be resolved.
         */
        <T> T resolveComponent(Class<T> coordsType, Path identityPath);
    
        /**
         * Determines the coordinates of the given type that should be used to reference the
         * variant with name {@code variantName}, contained in the root component of the
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 19 01:33:41 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/mapping/ResolutionBackedComponentDependencyResolver.java

            //       via the resolution result.
            Path identityPath = ((ProjectDependencyInternal) dependency).getIdentityPath();
            ModuleVersionIdentifier identifier = projectDependencyResolver.resolveComponent(ModuleVersionIdentifier.class, identityPath);
            return ResolvedCoordinates.create(identifier);
        }
    
        @Nullable
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/mapping/DefaultDependencyCoordinateResolverFactory.java

                Path identityPath = ((ProjectDependencyInternal) dependency).getIdentityPath();
                return ResolvedCoordinates.create(projectDependencyResolver.resolveComponent(ModuleVersionIdentifier.class, identityPath));
            }
    
            @Nullable
            @Override
            public ResolvedCoordinates resolveComponentCoordinates(DependencyConstraint dependency) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  6. platforms/software/maven/src/test/groovy/org/gradle/api/publish/maven/internal/publication/DefaultMavenPublicationTest.groovy

            projectDependency.getArtifacts() >> []
            projectDependency.getGroup() >> "pub-group"
            projectDependency.getName() >> "pub-name"
            projectDependencyResolver.resolveComponent(ModuleVersionIdentifier, projectDependency.identityPath) >> DefaultModuleVersionIdentifier.newId("pub-group", "pub-name", "pub-version")
    
            when:
            publication.from(componentWithDependency(projectDependency))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 19 01:33:41 UTC 2023
    - 24.8K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/main/java/org/gradle/swiftpm/plugins/SwiftPackageManagerExportPlugin.java

                        Path identityPath = ((ProjectDependencyInternal) projectDependency).getIdentityPath();
                        SwiftPmTarget identifier = publicationResolver.resolveComponent(SwiftPmTarget.class, identityPath);
                        target.getRequiredTargets().add(identifier.getTargetName());
                    } else if (dependency instanceof ExternalModuleDependency) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  8. platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/internal/publication/DefaultIvyPublicationTest.groovy

                getDependencyProject() >> Mock(Project)
                getIdentityPath() >> Stub(Path)
            }
            def exclude = Mock(ExcludeRule)
    
            and:
            projectDependencyResolver.resolveComponent(ModuleVersionIdentifier, projectDependency.identityPath) >> DefaultModuleVersionIdentifier.newId("pub-org", "pub-module", "pub-revision")
            projectDependency.targetConfiguration >> "dep-configuration"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 19 01:33:41 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/projectmodule/DefaultProjectDependencyPublicationResolver.java

            this.publicationRegistry = publicationRegistry;
            this.projectConfigurer = projectConfigurer;
            this.projects = projects;
        }
    
        @Override
        public <T> T resolveComponent(Class<T> coordsType, Path identityPath) {
            return withCoordinateResolver(coordsType, identityPath,
                VariantCoordinateResolver::getComponentCoordinates
            );
        }
    
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top