Skip to content

Commit 4d62dba

Browse files
committed
Remove class files from spring-boot-autoconfigure source jar
1 parent 057ba16 commit 4d62dba

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
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)