File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ publishing {
9
9
pom. withXml {
10
10
def dependencyManagementNode = asNode(). appendNode(' dependencyManagement' ). appendNode(' dependencies' )
11
11
12
- rootProject. subprojects. findAll { it != project }. each { subProject ->
12
+ rootProject. subprojects. findAll { it != project && ! it . path . startsWith( " :docs: " ) && it != project( " :docs " ) }. each { subProject ->
13
13
dependencyManagementNode. appendNode(' dependency' ). with {
14
14
appendNode(' groupId' , subProject. group)
15
15
appendNode(' artifactId' ,subProject. name)
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ subprojects {
42
42
}
43
43
44
44
// specific modules should be excluded from publication
45
- if ( ! [" test-support" , " jdbc-test" , " docs-examples " ]. contains(it. name) ) {
45
+ if ( ! [" test-support" , " jdbc-test" ]. contains(it. name) && ! it . path . startsWith( " :docs: " ) && it != project( " :docs " ) ) {
46
46
apply from : " $rootDir /gradle/publishing.gradle"
47
47
apply from : " $rootDir /gradle/bintray.gradle"
48
48
You can’t perform that action at this time.
0 commit comments