Permalink
Browse files

Add task for building source jar.

  • Loading branch information...
1 parent 587116e commit 936daf67111e41ecb6479199b71ba20cfadee273 @marc0der committed Mar 4, 2014
Showing with 5 additions and 0 deletions.
  1. +5 −0 build.gradle
View
@@ -42,6 +42,11 @@ ext {
apply plugin: 'maven-publish'
+task jarSources(type:Jar){
+ from sourceSets.main.allSource
+ classifier = 'source'
+}
+
publishing {
publications {
plugin(MavenPublication) {

0 comments on commit 936daf6

Please sign in to comment.