File tree Expand file tree Collapse file tree
src/main/java/org/damon233/performtrackermod/network Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,9 +93,10 @@ tasks.test {
9393 }
9494
9595checkstyle {
96- toolVersion = " 10.17.0"
97- configFile = file(" checkstyle.xml" )
98- }
96+ toolVersion = " 10.17.0"
97+ configFile = file(" config/checkstyle/checkstyle.xml" )
98+ configProperties[" checkstyle.config.location" ] = " ${project.rootDir} /config/checkstyle"
99+ }
99100
100101tasks.checkstyleMain {
101102 reports {
Original file line number Diff line number Diff line change 66<module name =" Checker" >
77 <property name =" severity" value =" warning" />
88 <property name =" fileExtensions" value =" java" />
9+
10+ <module name =" RegexpHeader" >
11+ <property name =" headerFile" value =" ${checkstyle.config.location}/license_header.txt" />
12+ </module >
913
1014 <module name =" TreeWalker" >
1115 <module name =" NeedBraces" >
Original file line number Diff line number Diff line change 1+ ^/\*$
2+ ^ \* Copyright \d{4}(-\d{4})? +Damon +Lu and open-source contributors$
3+ ^ \*$
4+ ^ \* Licensed under the Apache License, Version 2\.0 \(the \"License\"\)\;$
5+ ^ \* you may not use this file except in compliance with the License.$
6+ ^ \* You may obtain a copy of the License at$
7+ ^ \*$
8+ ^ \* http://www\.apache\.org/licenses/LICENSE\-2\.0$
9+ ^ \*$
10+ ^ \* Unless required by applicable law or agreed to in writing, software$
11+ ^ \* distributed under the License is distributed on an "AS IS" BASIS,$
12+ ^ \* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.$
13+ ^ \* See the License for the specific language governing permissions and$
14+ ^ \* limitations under the License\.$
15+ ^ \*/$
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2026 Damon Lu and open-source contributors
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+
117package org .damon233 .performtrackermod .network ;
218
319import org .damon233 .performtrackermod .PerformTracker ;
You can’t perform that action at this time.
0 commit comments