Skip to content

Commit 07629a3

Browse files
committed
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
1 parent 8f715a8 commit 07629a3

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

build.gradle

+1-8
Original file line numberDiff line numberDiff line change
@@ -233,14 +233,7 @@ configure(subprojects - project(":spring-build-src")) { subproject ->
233233
task sourcesJar(type: Jar, dependsOn: classes) {
234234
classifier = 'sources'
235235
from sourceSets.main.allSource
236-
include '**/*.java'
237-
include '**/*.groovy'
238-
include '**/*.aj'
239-
include 'META-INF/spring.factories'
240-
include 'META-INF/services/*'
241-
include '**/*.properties'
242-
include '**/*.xml'
243-
include '**/*.types'
236+
// don't include or exclude anything explicitly by default. See SPR-12085.
244237
}
245238

246239
task javadocJar(type: Jar) {

0 commit comments

Comments
 (0)