Skip to content

Commit

Permalink
fix: accept running build with both plugin-publish and maven-publish
Browse files Browse the repository at this point in the history
  • Loading branch information
KengoTODA committed Sep 16, 2021
1 parent ea03042 commit 6556bb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gradle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function getTaskToPublish(
task = "artifactoryDeploy";
} else if (line.startsWith("publish -")) {
// Plugins Gradle Artifactory Plugin and Maven Publish Plugin are often used together
if (task !== "" && task !== "artifactoryDeploy") {
if (task !== "" && task !== "artifactoryDeploy" && task !== "publishPlugins") {
reject(new Error(ERROR_MULTIPLE_PLUGIN));
}
if (task === "artifactoryDeploy") {
Expand Down

0 comments on commit 6556bb3

Please sign in to comment.