浏览代码

Hard-code our clang-format version.

Mario Zechner 4 年之前
父节点
当前提交
a475b8a9c3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      formatters/build.gradle

+ 1 - 1
formatters/build.gradle

@@ -26,7 +26,7 @@ spotless {
                'spine-sfml/**/*.h',
                'spine-sfml/**/*.h',
                'spine-ue4/**/*.cpp',
                'spine-ue4/**/*.cpp',
                'spine-ue4/**/*.h'
                'spine-ue4/**/*.h'
-        clangFormat().pathToExe("$System.env.CLANGFORMAT").style('file')
+        clangFormat("12.0.1").pathToExe("$System.env.CLANGFORMAT").style('file')
     }
     }
 
 
     typescript {
     typescript {