gh-yzou commented on code in PR #1333:
URL: https://github.com/apache/polaris/pull/1333#discussion_r2040441431
##########
build-logic/src/main/kotlin/polaris-java.gradle.kts:
##########
@@ -37,6 +37,11 @@ plugins {
apply<PublishingHelperPlugin>()
+if (project.extra.has("duplicated-project-sources")) {
+ // skip the style check for duplicated projects
+ tasks.withType<Checkstyle>().configureEach { enabled = false }
Review Comment:
This is handled in a similar way as nessie here
https://github.com/projectnessie/nessie/blob/efeb22d7982abaa2febcbdce742409e0018780f7/build-logic/src/main/kotlin/nessie-common-src.gradle.kts#L36.
I will be happy to accommodate the change if there is a better way to skip the
unnecessary checks
--
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]