Skip to content

Commit

Permalink
gradle sources jar
Browse files Browse the repository at this point in the history
  • Loading branch information
Querz committed Aug 14, 2018
1 parent b389ad5 commit 85787a8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,8 @@ javadoc {
options.linkSource true
options.links 'https://docs.oracle.com/javase/8/docs/api/'
}

task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}

0 comments on commit 85787a8

Please sign in to comment.