Skip to content

Commit

Permalink
Publish sources to Maven Central
Browse files Browse the repository at this point in the history
Part of #1643
  • Loading branch information
jrodbx committed Nov 26, 2019
1 parent b80fa47 commit 9cd9704
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gradle/gradle-mvn-push.gradle
Expand Up @@ -100,10 +100,10 @@ afterEvaluate { project ->
from androidJavadocs.destinationDir
}

task androidSourcesJar(type: Jar) {
classifier = 'sources'
from android.sourceSets.main.java.sourceFiles
}
task androidSourcesJar(type: Jar) {
classifier = 'sources'
from android.sourceSets.main.java.source
}

artifacts {
archives androidSourcesJar
Expand Down

0 comments on commit 9cd9704

Please sign in to comment.