Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build.gradle: fix checkstyle plugin failure
The `checkstyle` plugin of Gradle fails in JDK11. The main reason is that, in JDK11, the `user.dir` cannot be reset by Gradle [1]. So, checkstyle plugin is unable to locate the suppressions file correctly. Also, the `FileContentHolder` module are deprecated[2]. Let's add ` config_loc` variable suggested by Gradle to solve the problem.[1] [1] gradle/gradle#8286 [2] checkstyle/checkstyle#5187
- Loading branch information