Build sources for jitpack.io

This commit is contained in:
Mauricio Colli 2017-08-09 10:25:02 -03:00
parent 2e5e4e91c9
commit b1eefa040e
1 changed files with 8 additions and 0 deletions

View File

@ -15,3 +15,11 @@ dependencies {
targetCompatibility = 1.7 targetCompatibility = 1.7
} }
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts {
archives sourcesJar
}