Skip to content

cannot apply plugin #9

@nkiesel

Description

@nkiesel

I removed all my includes from settings.gradle and added id("com.pablisco.gradle.automodule") version "0.15" as the last entry in my existing top-level build.gradle. However, when running gradle jar I now get

An exception occurred applying plugin request [id: 'com.pablisco.gradle.automodule', version: '0.15']
> Failed to apply plugin [id 'com.pablisco.gradle.automodule']
> org.gradle.api.internal.project.DefaultProject_Decorated cannot be cast to org.gradle.api.initialization.Settings

This is with Gradle 5.6.4

BTW: I first tried to add the plugin into settings.gradle because the instructions say: "replace includes with the plugin line" but that was not working either. Thus added to build.gradle instead. Perhaps you can improve the instructions to make it clearer where to add the plugin line.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions