Build sources for jitpack.io

This commit is contained in:
Mauricio Colli 2017-08-09 10:25:02 -03:00
parent 2e5e4e91c9
commit b1eefa040e

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
}