Skip to content

JavaExec internal API spec seems to have changed in Gradle 6.6, making v1.7.0 fail #165

@gwinstanley

Description

@gwinstanley

Trying to use application plugin with gradle-modules-plugin 1.7.0 and Gradle 6.6 causes a ReflectionException to be raised at ModularJavaExec (line 97). The Gradle internal API appears to have changed so that the line:

var hb = on(this).field("javaExecHandleBuilder").get();

fails to find the specified field (JavaExecAction javaExecHandleBuilder) as it no longer exists in the JavaExec class. It has been replaced by: DefaultJavaExecSpec javaExecSpec (which should, at first look, provide the same support for getExecutable() required by ModularJavaExec).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions