-
Notifications
You must be signed in to change notification settings - Fork 93
Open
Description
The plugin cannot have its task run under Spring 4:
In plugin 'org.springframework.boot.experimental.thin-launcher' type 'org.springframework.boot.experimental.gradle.PropertiesTask' property 'configuration' has @Input annotation used on property of type 'Configuration'.
Full logs:
2:15:59 AM: Executing 'thin'…
[Incubating] Problems report is available at: file:///<redacted>/build/reports/problems/problems-report.html
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.14.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
FAILURE: Build failed with an exception.
* What went wrong:
A problem was found with the configuration of task ':thinProperties' (type 'PropertiesTask').
- In plugin 'org.springframework.boot.experimental.thin-launcher' type 'org.springframework.boot.experimental.gradle.PropertiesTask' property 'configuration' has @Input annotation used on property of type 'Configuration'.
Reason: A property of type 'Configuration' annotated with @Input cannot determine how to interpret the file.
Possible solutions:
1. Annotate with @InputFile for regular files.
2. Annotate with @InputFiles for collections of files.
3. If you want to track the path, return File.absolutePath as a String and keep @Input.
For more information, please refer to https://docs.gradle.org/8.14.3/userguide/validation_problems.html#incorrect_use_of_input_annotation in the Gradle documentation.
* 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.
BUILD FAILED in 190ms
2:16:00 AM: Execution finished 'thin'.
surajtambe
Metadata
Metadata
Assignees
Labels
No labels