Build sources for jitpack.io
This commit is contained in:
parent
2e5e4e91c9
commit
b1eefa040e
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||||
|
}
|
Loading…
Reference in a new issue