-
Notifications
You must be signed in to change notification settings - Fork 11
Description
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.