nebula-plugins / nebula-plugin-plugin

Plugin for plugins, heavily opinionated about nebula-plugins
Apache License 2.0
15 stars 15 forks source link

Gradle 7.4 #70

Closed 24glinka closed 2 years ago

24glinka commented 2 years ago

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

What could be a solution?

24glinka commented 2 years ago

It was related to the Gradle version. Newer version, starting from 7.1, is enough.