Skip to content

Commit 56e59da

Browse files
committed
creates source jar
1 parent f51687a commit 56e59da

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

build.gradle

+9
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@ jar {
2525
version = project.version
2626
}
2727

28+
task sourcesJar(type: Jar) {
29+
from sourceSets.main.java.srcDirs
30+
classifier = 'sources'
31+
}
32+
33+
artifacts {
34+
archives sourcesJar
35+
}
36+
2837
compileTestJava {
2938
sourceCompatibility = 1.8
3039
targetCompatibility = 1.8

0 commit comments

Comments
 (0)