diff --git a/build.gradle b/build.gradle index e45666a5..db32ac54 100644 --- a/build.gradle +++ b/build.gradle @@ -53,9 +53,10 @@ spotless { } // clang-format is difficult to configure across all of our platforms so we - // avoid being really strict about enforcing it in our build for now. + // avoid being really strict about enforcing it in our build for now. version + // 17.x has a bug, so skip that version. def clangFormatVersion = getClangFormatVersion() - if (!clangFormatVersion.equals('')) { + if (!clangFormatVersion.equals('') && clangFormatVersion.indexOf('17') < 0) { cpp { target 'csrc/*' licenseHeaderFile 'build-tools/license-headers/LicenseHeader.h'