Jimexist commented on PR #2601:
URL: https://github.com/apache/thrift/pull/2601#issuecomment-1120913333

   > It looks like the conditional configuration isn't working. When the plugin 
isn't applied, then the type safe `ktfmt` configuration block that calls 
`kotlinLangStyle()` fails with a compilation error. I can't figure out how to 
conditionally apply the configuration... I don't think any type-safe way will 
work, and I don't understand the non-type-safe ways discussed in the docs.
   
   for now i'm just configuring the plugin in both versions but only 
conditionally apply it with Java 11+ so there's no conflict. hopefully this can 
solve the issue.


-- 
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]

Reply via email to