Disable uploadArchives for non-core modules
This commit is contained in:
@@ -71,6 +71,7 @@ configure(subprojects - coreModules) {
|
||||
}
|
||||
|
||||
tasks.findByPath("artifactoryPublish")?.enabled = false
|
||||
tasks.findByPath("uploadArchives")?.enabled = false
|
||||
}
|
||||
|
||||
description = "Spring LDAP"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user