Skip to content

Gradle plugin cannot resolve a main class from "run" task #1099

@tomaslin

Description

@tomaslin

When you specify a main class that is found in a jar file, get an error > No main class specified

This seems to happen because the findMainClass call happens before compile time dependencies are resolved. It should happen after.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: regressionA regression from a previous release

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions