Skip to content

Commit

Permalink
Use processIsolation for SigstoreSignFilesTask to avoid OutOfMemory: …
Browse files Browse the repository at this point in the history
…MetaSpace

see gradle/gradle#18313
  • Loading branch information
vlsi committed Jan 11, 2023
1 parent 60b0b7a commit 1394410
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ abstract class SigstoreSignFilesTask : DefaultTask() {
@TaskAction
protected fun sign() {
workerExecutor
.classLoaderIsolation { classpath.from(sigstoreClientClasspath) }
.processIsolation {
classpath.from(sigstoreClientClasspath)
}
.run {
for (signature in signatures) {
submit(SignWorkAction::class.java) {
Expand Down

0 comments on commit 1394410

Please sign in to comment.