Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

Gradle 8.12 rejects org.gradle.process.internal.DefaultExecActionFactory #58

Open
@esafak

Description

@esafak

My CI scripts fail after upgrading to Gradle 8.12 due to org.gradle.process.internal.DefaultExecActionFactory:

Caused by: java.lang.NoSuchMethodError: 'org.gradle.process.internal.DefaultExecActionFactory org.gradle.process.internal.DefaultExecActionFactory.of(org.gradle
.api.internal.file.FileResolver, org.gradle.api.internal.file.FileCollectionFactory, org.gradle.internal.concurrent.ExecutorFactory, org.gradle.api.internal.fil
e.temp.TemporaryFileProvider)'
        at io.kotest.gradle.Kotest.exec(Kotest.kt:84)
        at io.kotest.gradle.Kotest.executeTests(Kotest.kt:132)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
...

The factory's signature has changed from

public static DefaultExecActionFactory of(
        FileResolver fileResolver,
        FileCollectionFactory fileCollectionFactory,
        ExecutorFactory executorFactory,
        TemporaryFileProvider temporaryFileProvider
    )

to

public static DefaultExecActionFactory of(
        FileResolver fileResolver,
        FileCollectionFactory fileCollectionFactory,
        Instantiator instantiator,
        ExecutorFactory executorFactory,
        TemporaryFileProvider temporaryFileProvider,
        BuildCancellationToken buildCancellationToken,
        ObjectFactory objectFactory,
        ClientExecHandleBuilderFactory clientExecHandleBuilderFactory
    )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions