Skip to content

Commit 172cc86

Browse files
committed
chore: use afterEvaluate instead of doLast on sourceJar task to resolve extension missing exception
1 parent 1ddb9f7 commit 172cc86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ subprojects {
5858

5959
tasks.create("sourceJar", Jar::class) {
6060
archiveClassifier.set("sources")
61-
doLast {
61+
afterEvaluate {
6262
from(the<SourceSetContainer>().getByName("main").allSource)
6363
}
6464
}

0 commit comments

Comments
 (0)