Skip to content

Commit 616b561

Browse files
authored
chore: adds source jar to published artifacts (#100)
This will help plugin development as developers will be able to see the source code and overriden methods will have the correct variable names. see: https://docs.gradle.org/6.0.1/javadoc/org/gradle/api/plugins/JavaPluginExtension.html#withSourcesJar--
1 parent 6676ace commit 616b561

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: lib/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ test {
7171

7272
// Apply a specific Java toolchain to ease working on different environments.
7373
java {
74+
withSourcesJar()
7475
toolchain {
7576
languageVersion = JavaLanguageVersion.of(20)
7677
}

0 commit comments

Comments
 (0)