Skip to content

Commit

Permalink
Support setting the context URL (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
yahavi authored Jul 3, 2023
1 parent 18f9d70 commit d7ef989
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ public ArtifactoryPluginConvention(Project project) {
clientConfig = new ArtifactoryClientConfiguration(new GradleClientLogger(project.getLogger()));
}

@SuppressWarnings("unused")
public void setContextUrl(String contextUrl) {
clientConfig.publisher.setContextUrl(contextUrl);
}

public void publish(Closure<PublisherConfig> closure) {
publish(ConfigureUtil.configureUsing(closure));
}
Expand Down

0 comments on commit d7ef989

Please sign in to comment.