When trying to update to Gradle 7.4, I received this error:
gradle wrapper --gradle-version 7.4
An exception occurred applying plugin request [id: 'nebula.plugin-plugin', version: '16.2.0']
> Failed to apply plugin 'nebula.source-jar'.
> Could not find method getSourceSets() for arguments [] on extension 'java' of type org.gradle.api.plugins.internal.DefaultJavaPluginExtension
When trying to update to Gradle 7.4, I received this error:
What could be a solution?