forked from CS2103-AY1819S1-W14-4/main
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
2 changed files
with
2 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters