Skip to content

Commit

Permalink
Added sources jar. Fixes #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Arcnor committed Sep 20, 2016
1 parent 312185d commit 874d3cc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@ repositories {
mavenCentral()
}

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

artifacts {
archives sourcesJar
}

task wrapper(type: Wrapper) {
Expand Down

0 comments on commit 874d3cc

Please sign in to comment.