Skip to content

Commit

Permalink
Add sourcesJar task to keep sources
Browse files Browse the repository at this point in the history
  • Loading branch information
matejcikm authored and Martin Matejčík committed Mar 10, 2018
1 parent 4b5e206 commit 4f0134e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions mvvm/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,12 @@ dependencies {
// Dagger
implementation "com.google.dagger:dagger-android-support:$dagger"
}

task sourcesJar(type: Jar) {
from android.sourceSets.main.java.srcDirs
classifier = 'sources'
}

artifacts {
archives sourcesJar
}

0 comments on commit 4f0134e

Please sign in to comment.