James Daugherty created GROOVY-11671:
----------------------------------------
Summary: Groovy 4_0_X branch fails
Key: GROOVY-11671
URL: https://issues.apache.org/jira/browse/GROOVY-11671
Project: Groovy
Issue Type: Bug
Environment: Liberica Java 17 JDK
Latest Version of MacOs
Reporter: James Daugherty
Check out the 4_0_X branch and run ‘./gradlew build’. The build fails with the
below on Java 17 on MacOS:
* What went wrong:
A problem was found with the configuration of task
':groovy-cli-picocli:checkstyleMainReport' (type 'CheckstyleHtmlReport').
- In plugin 'org.apache.groovy-bad-practices-detection' type
'org.apache.groovy.gradle.CheckstyleHtmlReport' property 'checkstyleReportFile'
specifies file
'myprojectdirectory/subprojects/groovy-cli-picocli/build/reports/checkstyle/checkstyleMain.xml'
which doesn't exist.
Reason: An input file was expected to be present but it doesn't exist.
Possible solutions:
1. Make sure the file exists before the task is called.
2. Make sure that the task which produces the file is declared as an
input.
For more information, please refer to
[https://docs.gradle.org/8.14/userguide/validation_problems.html#input_file_does_not_exist]
in the Gradle documentation.
* Try:
> Make sure the file exists before the task is called
> Make sure that the task which produces the file is declared as an input
--
This message was sent by Atlassian Jira
(v8.20.10#820010)