Disable uploadArchives for non-core modules

This commit is contained in:
Rob Winch
2020-05-01 17:09:20 -05:00
parent da96ad6fbf
commit 11d5777038
2 changed files with 2 additions and 1 deletions

View File

@@ -71,6 +71,7 @@ configure(subprojects - coreModules) {
}
tasks.findByPath("artifactoryPublish")?.enabled = false
tasks.findByPath("uploadArchives")?.enabled = false
}
description = "Spring LDAP"

View File

@@ -97,7 +97,7 @@ class MergePlugin implements Plugin<Project> {
private void setupTaskDependencies(Project project) {
// invoking a task will invoke the task with the same name on 'into' project
["sourcesJar", "jar", "javadocJar", "javadoc", "install", "artifactoryPublish"].each {
["sourcesJar", "jar", "javadocJar", "javadoc", "install", "artifactoryPublish", "uploadArchives"].each {
def task = project.tasks.findByPath(it)
if (task) {
task.enabled = false