1
1
# Java Style Guide
2
- ![ Version] ( https://img.shields.io/badge/Latest%20Version-v1.0.1 --9.1 -blue )
2
+ ![ Version] ( https://img.shields.io/badge/Latest%20Version-v1.0.2 --9.2 -blue )
3
3
![ Checkstyle] ( https://img.shields.io/badge/Checkstyle%20Compatible-v9.2.1-green )
4
4
5
5
Java style guide built upon Sun Microsystems and Google style guides, widely accepted best practices. Is offered in
@@ -52,7 +52,7 @@ Then the plugin could be configured in the following way (for Maven):
52
52
</dependency >
53
53
</dependencies >
54
54
<configuration >
55
- <configLocation >https://raw.githubusercontent.com/pepperkit/java-style-guide/v1.0.1 -9.1 /checkstyle.xml</configLocation >
55
+ <configLocation >https://raw.githubusercontent.com/pepperkit/java-style-guide/v1.0.2 -9.2 /checkstyle.xml</configLocation >
56
56
<encoding >UTF-8</encoding >
57
57
<consoleOutput >true</consoleOutput >
58
58
<failsOnError >true</failsOnError >
@@ -69,7 +69,7 @@ Checkstyle allows the definition of a list of files and their line ranges that s
69
69
Update the plugin configuration like that:
70
70
``` xml
71
71
<configuration >
72
- <configLocation >https://raw.githubusercontent.com/pepperkit/java-style-guide/v1.0.1 -9.1 /checkstyle.xml</configLocation >
72
+ <configLocation >https://raw.githubusercontent.com/pepperkit/java-style-guide/v1.0.2 -9.2 /checkstyle.xml</configLocation >
73
73
<encoding >UTF-8</encoding >
74
74
<consoleOutput >true</consoleOutput >
75
75
<failsOnError >true</failsOnError >
@@ -101,8 +101,8 @@ plugins {
101
101
}
102
102
103
103
checkstyle {
104
- toolVersion '8.42 '
105
- config project.resources.text.fromUri(new URI("https://raw.githubusercontent.com/pepperkit/java-style-guide/v1.0.1 -9.1 /checkstyle.xml"))
104
+ toolVersion '9.2.1 '
105
+ config project.resources.text.fromUri(new URI("https://raw.githubusercontent.com/pepperkit/java-style-guide/v1.0.2 -9.2 /checkstyle.xml"))
106
106
}
107
107
```
108
108
Be aware of current versions or any compitible versions.
@@ -113,8 +113,8 @@ When this style guide is changed, its version increases, it follows semver logic
113
113
version of Checkstyle this style guide is compatible, the corresponding version of Checkstyle is stated in the version of
114
114
the style guide.
115
115
116
- For example, if the style guide has version ` 1.0.1 ` and it is compatible with Checkstyle version ` 9.1 ` , then the version
117
- of Checkstyle file will be ` v1.0.1 -9.1 ` .
116
+ For example, if the style guide has version ` 1.0.2 ` and it is compatible with Checkstyle version ` 9.2 ` , then the version
117
+ of Checkstyle file will be ` v1.0.2 -9.2 ` .
118
118
119
119
## Style Guide
120
120
0 commit comments