Trying to run an api diff since the move to Gradle 7 leads to:
> Task :spring-aop:apiDiff FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Some problems were found with the configuration of task ':spring-aop:apiDiff' (type 'JapicmpTask').
- Type 'me.champeau.gradle.japicmp.JapicmpTask' property 'failOnModification' has redundant getters: 'getFailOnModification()' and 'isFailOnModification()'.
Reason: Boolean property 'failOnModification' has both an `is` and a `get` getter.
Possible solutions:
1. Remove one of the getters.
2. Annotate one of the getters with @Internal.
Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#redundant_getters for more details about this problem.
- Type 'me.champeau.gradle.japicmp.JapicmpTask' property 'failOnModification' of type boolean shouldn't be annotated with @Optional.
Reason: Properties of primitive type cannot be optional.
Possible solutions:
1. Remove the @Optional annotation.
2. Use the java.lang.Boolean type instead.
Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#cannot_use_optional_on_primitive_types for more details about this problem.
- Type 'me.champeau.gradle.japicmp.JapicmpTask' property 'failOnSourceIncompatibility' of type boolean shouldn't be annotated with @Optional.
Reason: Properties of primitive type cannot be optional.
Possible solutions:
1. Remove the @Optional annotation.
2. Use the java.lang.Boolean type instead.
Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#cannot_use_optional_on_primitive_types for more details about this problem.
- Type 'me.champeau.gradle.japicmp.JapicmpTask' property 'ignoreMissingClasses' has redundant getters: 'getIgnoreMissingClasses()' and 'isIgnoreMissingClasses()'.
Reason: Boolean property 'ignoreMissingClasses' has both an `is` and a `get` getter.
Possible solutions:
1. Remove one of the getters.
2. Annotate one of the getters with @Internal.
Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#redundant_getters for more details about this problem.
- Type 'me.champeau.gradle.japicmp.JapicmpTask' property 'ignoreMissingClasses' of type boolean shouldn't be annotated with @Optional.
Reason: Properties of primitive type cannot be optional.
Possible solutions:
1. Remove the @Optional annotation.
2. Use the java.lang.Boolean type instead.
Please refer to https://docs.gradle.org/7.2/userguide/validation_problems.html#cannot_use_optional_on_primitive_types for more details about this problem.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 11s
52 actionable tasks: 36 executed, 15 from cache, 1 up-to-date