Skip to content

Commit

Permalink
chore: use afterEvaluate instead of doLast on sourceJar task to resol…
Browse files Browse the repository at this point in the history
…ve extension missing exception
  • Loading branch information
WipeAir committed Oct 4, 2020
1 parent 1ddb9f7 commit 172cc86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ subprojects {

tasks.create("sourceJar", Jar::class) {
archiveClassifier.set("sources")
doLast {
afterEvaluate {
from(the<SourceSetContainer>().getByName("main").allSource)
}
}
Expand Down

0 comments on commit 172cc86

Please sign in to comment.