.id(getModuleIdString(project.getGroup().toString(),
artifactName, project.getVersion().toString()));
try {
ArtifactoryClientConfiguration.PublisherHandler publisher = ArtifactoryPluginUtil.getArtifactoryConvention(project).getClientConfig().publisher;
boolean excludeArtifactsFromBuild = publisher.isFilterExcludedArtifactsFromBuild();
IncludeExcludePatterns patterns = new IncludeExcludePatterns(
publisher.getIncludePatterns(),
publisher.getExcludePatterns());
Iterable<GradleDeployDetails> deployExcludeDetails = null;
Iterable<GradleDeployDetails> deployIncludeDetails = null;
if (excludeArtifactsFromBuild) {