Skip to content

Commit

Permalink
Fix gradle to not call invalid .get()
Browse files Browse the repository at this point in the history
We previously failed to build ther sourcesJar when calling
`publishToMavenLocal`. This is now fixed and tested by publishing all
JARs to maven local.
  • Loading branch information
mtdowling committed Sep 1, 2020
1 parent 2a6d92b commit f519e7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ subprojects {
task sourcesJar(type: Jar) {
metaInf.with(licenseSpec)
from {
sourceSets.main.get().allJava
sourceSets.main.allJava
}
archiveClassifier = "sources"
}
Expand Down

0 comments on commit f519e7c

Please sign in to comment.