Skip to content

Commit b1eefa0

Browse files
committed
Build sources for jitpack.io
1 parent 2e5e4e9 commit b1eefa0

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,11 @@ dependencies {
1515
targetCompatibility = 1.7
1616
}
1717

18+
task sourcesJar(type: Jar, dependsOn: classes) {
19+
classifier = 'sources'
20+
from sourceSets.main.allSource
21+
}
22+
23+
artifacts {
24+
archives sourcesJar
25+
}

0 commit comments

Comments
 (0)