Skip to content

Commit 6bd0a71

Browse files
committed
fix: build failure due to gradle StackOverflowException
1 parent f7a3aa8 commit 6bd0a71

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ gradle.projectsEvaluated {
7070
minimize()
7171
archiveBaseName = tasks.jar.get().archiveBaseName
7272
manifest {
73-
from(tasks.jar.get().manifest)
73+
attributes(
74+
project.tasks.named("jar", Jar::class.java).map { it.manifest.attributes }.get()
75+
)
7476
}
7577
}
7678
} else {

0 commit comments

Comments
 (0)