Skip to content

Commit

Permalink
Merge pull request Grover-c13#169 from langerhans/lh/sources-jar
Browse files Browse the repository at this point in the history
Publish sources jar
  • Loading branch information
Grover-c13 authored Jul 24, 2016
2 parents 0db0742 + 4ebe910 commit 69a5521
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 @@ -107,3 +107,12 @@ idea {
sourceDirs += file("${protobuf.generatedFilesBaseDir}/main/java");
}
}

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

artifacts {
archives sourcesJar
}

0 comments on commit 69a5521

Please sign in to comment.