當前位置: 首頁>>代碼示例>>Java>>正文


Java GradlePomModuleDescriptorParser類代碼示例

本文整理匯總了Java中org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser.GradlePomModuleDescriptorParser的典型用法代碼示例。如果您正苦於以下問題:Java GradlePomModuleDescriptorParser類的具體用法?Java GradlePomModuleDescriptorParser怎麽用?Java GradlePomModuleDescriptorParser使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


GradlePomModuleDescriptorParser類屬於org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser包,在下文中一共展示了GradlePomModuleDescriptorParser類的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: createBaseRepositoryFactory

import org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser.GradlePomModuleDescriptorParser; //導入依賴的package包/類
BaseRepositoryFactory createBaseRepositoryFactory(LocalMavenRepositoryLocator localMavenRepositoryLocator, Instantiator instantiator, FileResolver fileResolver,
                                                  RepositoryTransportFactory repositoryTransportFactory, LocallyAvailableResourceFinder<ModuleComponentArtifactMetadata> locallyAvailableResourceFinder,
                                                  ArtifactIdentifierFileStore artifactIdentifierFileStore,
                                                  VersionSelectorScheme versionSelectorScheme,
                                                  AuthenticationSchemeRegistry authenticationSchemeRegistry,
                                                  IvyContextManager ivyContextManager) {
    return new DefaultBaseRepositoryFactory(
            localMavenRepositoryLocator,
            fileResolver,
            instantiator,
            repositoryTransportFactory,
            locallyAvailableResourceFinder,
            artifactIdentifierFileStore,
            new GradlePomModuleDescriptorParser(versionSelectorScheme),
            authenticationSchemeRegistry,
            ivyContextManager
    );
}
 
開發者ID:lxxlxx888,項目名稱:Reer,代碼行數:19,代碼來源:DefaultDependencyManagementServices.java

示例2: MavenResolver

import org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser.GradlePomModuleDescriptorParser; //導入依賴的package包/類
public MavenResolver(String name, URI rootUri, RepositoryTransport transport,
                     LocallyAvailableResourceFinder<ModuleVersionArtifactMetaData> locallyAvailableResourceFinder,
                     ResolverStrategy resolverStrategy) {
    super(name, transport.getRepository(),
            new ChainedVersionLister(new MavenVersionLister(transport.getRepository()), new ResourceVersionLister(transport.getRepository())),
            locallyAvailableResourceFinder, new GradlePomModuleDescriptorParser(), resolverStrategy);
    transport.configureCacheManager(this);

    this.mavenMetaDataLoader = new MavenMetadataLoader(transport.getRepository());
    this.transport = transport;
    this.root = transport.convertToPath(rootUri);

    super.setM2compatible(true);

    // SNAPSHOT revisions are changing revisions
    setChangingMatcher(PatternMatcher.REGEXP);
    setChangingPattern(".*-SNAPSHOT");

    updatePatterns();
}
 
開發者ID:Pushjet,項目名稱:Pushjet-Android,代碼行數:21,代碼來源:MavenResolver.java

示例3: MavenResolver

import org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser.GradlePomModuleDescriptorParser; //導入依賴的package包/類
public MavenResolver(String name, URI rootUri, RepositoryTransport transport,
                     LocallyAvailableResourceFinder<ModuleComponentArtifactMetaData> locallyAvailableResourceFinder,
                     FileStore<ModuleComponentArtifactMetaData> artifactFileStore) {
    super(name, transport.isLocal(),
            transport.getRepository(),
            transport.getResourceAccessor(),
            new ChainedVersionLister(new MavenVersionLister(transport.getRepository()), new ResourceVersionLister(transport.getRepository())),
            locallyAvailableResourceFinder,
            artifactFileStore);
    this.metaDataParser = new GradlePomModuleDescriptorParser();
    this.mavenMetaDataLoader = new MavenMetadataLoader(transport.getRepository());
    this.root = rootUri;

    updatePatterns();
}
 
開發者ID:Pushjet,項目名稱:Pushjet-Android,代碼行數:16,代碼來源:MavenResolver.java


注:本文中的org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser.GradlePomModuleDescriptorParser類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。