Skip to content

Commit c6a6fa6

Browse files
authored
Remove class files from spring-boot-autoconfigure source jar (#12798)
1 parent 4f94664 commit c6a6fa6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

instrumentation/spring/spring-boot-autoconfigure/build.gradle.kts

+5-1
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,14 @@ tasks {
208208
isEnabled = testSpring3
209209
}
210210

211-
withType(Jar::class) {
211+
named<Jar>("jar") {
212212
from(sourceSets["javaSpring3"].output)
213213
}
214214

215+
named<Jar>("sourcesJar") {
216+
from(sourceSets["javaSpring3"].java)
217+
}
218+
215219
val testStableSemconv by registering(Test::class) {
216220
jvmArgs("-Dotel.semconv-stability.opt-in=database")
217221
}

0 commit comments

Comments
 (0)