Skip to content

Commit

Permalink
Publish sources jar
Browse files Browse the repository at this point in the history
  • Loading branch information
langerhans committed Jul 24, 2016
1 parent 2e14fab commit 4ebe910
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 4ebe910

Please sign in to comment.