-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit e9b247e
authored
Advertise source jars for JVM-only libraries (#4394)
Original implementation:
https://github.com/vanniktech/gradle-maven-publish-plugin/blob/f22bd35c84c3df28700db4ca3de11d5b78a29fde/plugin/src/main/kotlin/com/vanniktech/maven/publish/Platform.kt#L472
Thanks, @vanniktech!
The issue with the replaced implementation is that it only packs
the jar, without registering the publication variant.
Checking the sources of `java { withSourcesJar() }`, we see the
corresponding logic, but given that we can instead invoke it
directly, no need to reimplement it.
Fixes #4112 1 parent 6baf7c8 commit e9b247e
1 file changed
+1
-5
lines changedLines changed: 1 addition & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 | - | ||
26 | - | ||
27 | - | ||
28 | - | ||
25 | + | ||
29 | 26 |
| |
30 | 27 |
| |
31 | 28 |
| |
32 | 29 |
| |
33 | - | ||
34 | 30 |
| |
35 | 31 |
| |
36 | 32 |
| |
|
0 commit comments