Skip to content

Commit

Permalink
Added gradle task to produce sources jar
Browse files Browse the repository at this point in the history
  • Loading branch information
jitpack-io committed Feb 23, 2015
1 parent 3206f1b commit 2b1ece8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,12 @@ android {
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
}

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

artifacts {
archives sourcesJar
}

0 comments on commit 2b1ece8

Please sign in to comment.