ttaolu commented on issue #5794:
URL: https://github.com/apache/jmeter/issues/5794#issuecomment-1477700699
same error
- ./gradlew :buildSrc:autostyleApply
- ./gradlew :buildSrc:autostyleApply -PmaxCheckMessageLines=50
-PmaxFilesToList=10 -PminLinesPerFile=4
- ./gradlew -PmaxCheckMessageLines=50 -PmaxFilesToList=10
-PminLinesPerFile=4 :buildSrc:autostyleApply
```groovy
$ ./gradlew -PmaxCheckMessageLines=50 -PmaxFilesToList=10
-PminLinesPerFile=4 :buildSrc:autostyleApply
> Configure project :buildSrc
Multiple files present for artifact
org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.7.10:
D:\Gradle\GradleUserHome\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-gradle-plugin-api\1.7.10\3b38be7ed8f8c678b13991d5b3ec99c4908d3313\kotlin-gradle-plugin-api-1.7.10-gradle70.jar
and
D:\Gradle\GradleUserHome\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-gradle-plugin-api\1.7.10\3b38be7ed8f8c678b13991d5b3ec99c4908d3313\kotlin-gradle-plugin-api-1.7.10.jar
> Task :buildSrc:batchtest:compileKotlin UP-TO-DATE
Multiple files present for artifact
org.jetbrains.kotlin:kotlin-gradle-plugin-api:1.7.10:
D:\Gradle\GradleUserHome\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-gradle-plugin-api\1.7.10\3b38be7ed8f8c678b13991d5b3ec99c4908d3313\kotlin-gradle-plugin-api-1.7.10-gradle70.jar
and
D:\Gradle\GradleUserHome\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-gradle-plugin-api\1.7.10\3b38be7ed8f8c678b13991d5b3ec99c4908d3313\kotlin-gradle-plugin-api-1.7.10.jar
> Task :buildSrc:autostyleKotlinGradleCheck FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':buildSrc:autostyleKotlinGradleCheck'.
> The following files have format violations:
build.gradle.kts
settings.gradle.kts
You might want to adjust -PmaxCheckMessageLines=50
-PmaxFilesToList=10
-PminLinesPerFile=4
to see more violations
Run './gradlew autostyleApply' to fix the violations.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
12 actionable tasks: 1 executed, 11 up-to-date
```
and why Multiple files present
thinks for help
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]