Include ALL source artifacts in published sources jars
This commit updates the Gradle build to ensure that *all* source artifacts are including in published 'sources' jars. To achieve this, we are now assembling 'sources' jars from 'sourceSets.main.allSource' and not explicitly including or excluding anything by default. Issue: SPR-12085
This commit is contained in:
parent
8f715a8547
commit
07629a3c7c
|
|
@ -233,14 +233,7 @@ configure(subprojects - project(":spring-build-src")) { subproject ->
|
|||
task sourcesJar(type: Jar, dependsOn: classes) {
|
||||
classifier = 'sources'
|
||||
from sourceSets.main.allSource
|
||||
include '**/*.java'
|
||||
include '**/*.groovy'
|
||||
include '**/*.aj'
|
||||
include 'META-INF/spring.factories'
|
||||
include 'META-INF/services/*'
|
||||
include '**/*.properties'
|
||||
include '**/*.xml'
|
||||
include '**/*.types'
|
||||
// don't include or exclude anything explicitly by default. See SPR-12085.
|
||||
}
|
||||
|
||||
task javadocJar(type: Jar) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue