Skip to content

Commit 5b30b88

Browse files
PiotrBandurskiVAarkadiuszpalka
authored andcommitted
build(mvi-presenter) Adding sources.jar to pom
1 parent c02ce1c commit 5b30b88

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

mvi-presenter/publish.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ afterEvaluate { Project project ->
1313
artifactId = project.artifactId
1414
version = project.libraryVersionName
1515
groupId = publishedGroupId
16+
artifact project.sourcesJar {
17+
classifier "sources"
18+
}
1619

1720
pom {
1821
packaging = 'jar'
@@ -55,4 +58,8 @@ bintray {
5558
pkg {
5659
name = artifactId
5760
}
61+
}
62+
63+
task sourcesJar(type: Jar, dependsOn: classes) {
64+
from sourceSets.main.allSource
5865
}

0 commit comments

Comments
 (0)