Skip to content

Commit

Permalink
creates source jar
Browse files Browse the repository at this point in the history
  • Loading branch information
goerge committed Apr 22, 2017
1 parent f51687a commit 56e59da
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ jar {
version = project.version
}

task sourcesJar(type: Jar) {
from sourceSets.main.java.srcDirs
classifier = 'sources'
}

artifacts {
archives sourcesJar
}

compileTestJava {
sourceCompatibility = 1.8
targetCompatibility = 1.8
Expand Down

0 comments on commit 56e59da

Please sign in to comment.