Java 类org.gradle.api.artifacts.dsl.ArtifactHandler 实例源码

项目:Reer    文件:DefaultDependencyManagementServices.java   
ArtifactHandler createArtifactHandler(Instantiator instantiator, DependencyMetaDataProvider dependencyMetaDataProvider, ConfigurationContainerInternal configurationContainer) {
    NotationParser<Object, ConfigurablePublishArtifact> publishArtifactNotationParser = new PublishArtifactNotationParserFactory(instantiator, dependencyMetaDataProvider).create();
    return instantiator.newInstance(DefaultArtifactHandler.class, configurationContainer, publishArtifactNotationParser);
}
项目:Reer    文件:DefaultProject.java   
public ArtifactHandler getArtifacts() {
    if (artifactHandler == null) {
        artifactHandler = services.get(ArtifactHandler.class);
    }
    return artifactHandler;
}
项目:Reer    文件:DefaultProject.java   
public void setArtifactHandler(ArtifactHandler artifactHandler) {
    this.artifactHandler = artifactHandler;
}
项目:Pushjet-Android    文件:AbstractProject.java   
public ArtifactHandler getArtifacts() {
    if (artifactHandler == null) {
        artifactHandler = services.get(ArtifactHandler.class);
    }
    return artifactHandler;
}
项目:Pushjet-Android    文件:AbstractProject.java   
public void setArtifactHandler(ArtifactHandler artifactHandler) {
    this.artifactHandler = artifactHandler;
}
项目:Pushjet-Android    文件:DefaultDependencyManagementServices.java   
ArtifactHandler createArtifactHandler(Instantiator instantiator, DependencyMetaDataProvider dependencyMetaDataProvider, ConfigurationContainerInternal configurationContainer) {
    NotationParser<Object, PublishArtifact> publishArtifactNotationParser = new PublishArtifactNotationParserFactory(instantiator, dependencyMetaDataProvider).create();
    return new DefaultArtifactHandler(configurationContainer, publishArtifactNotationParser);
}
项目:Pushjet-Android    文件:AbstractProject.java   
public ArtifactHandler getArtifacts() {
    return artifactHandler;
}
项目:Pushjet-Android    文件:AbstractProject.java   
public void setArtifactHandler(ArtifactHandler artifactHandler) {
    this.artifactHandler = artifactHandler;
}
项目:Reer    文件:Project.java   
/**
 * Returns a handler for assigning artifacts produced by the project to configurations.
 * <h3>Examples:</h3>See docs for {@link ArtifactHandler}
 */
ArtifactHandler getArtifacts();
项目:gradle-project-config    文件:ProjectConfigPlugin.java   
/**
 * Provide the artifact handler as model
 *
 * @param services Service registry to look up services
 * @return Artifact handler
 */
@Model
@Hidden
public ArtifactHandler artifactHandler(ServiceRegistry services) {
    return services.get(ArtifactHandler.class);
}
项目:Pushjet-Android    文件:Project.java   
/**
 * Returns a handler for assigning artifacts produced by the project to configurations.
 * <h3>Examples:</h3>See docs for {@link ArtifactHandler}
 */
ArtifactHandler getArtifacts();
项目:Pushjet-Android    文件:Project.java   
/**
 * Returns a handler for assigning artifacts produced by the project to configurations.
 * <h3>Examples:</h3>See docs for {@link ArtifactHandler}
 */
ArtifactHandler getArtifacts();