-
-
Notifications
You must be signed in to change notification settings - Fork 551
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
336 changed files
with
3,679 additions
and
2,921 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
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
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
#Fri Nov 13 12:12:21 EST 2015 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.8-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.0-bin.zip |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE module PUBLIC | ||
"-//Puppy Crawl//DTD Check Configuration 1.3//EN" | ||
"http://www.puppycrawl.com/dtds/configuration_1_3.dtd"> | ||
<module name="Checker"> | ||
<!-- Tabs are strictly banned --> | ||
<module name="FileTabCharacter"/> | ||
|
||
<module name="TreeWalker"> | ||
<!-- Important basics --> | ||
<!-- <module name="PackageDeclaration"/> Unlikely that we would miss this in a PR --> | ||
<module name="OuterTypeFilename"/> <!-- TypeName -> TypeName.java --> | ||
|
||
<!-- | ||
Control package usage, so people don't insert Bukkit into WE where it shouldn't belong, etc. | ||
It is a bit draconian, so update as necessary! | ||
--> | ||
<module name="ImportControl"> | ||
<property name="file" value="worldguard-core/config/checkstyle/import-control.xml"/> | ||
</module> | ||
|
||
<!-- Code --> | ||
<module name="HideUtilityClassConstructor"/> <!-- Utility classes should not have a constructor --> | ||
<module name="CovariantEquals"/> | ||
<module name="EqualsHashCode"/> <!-- equals() and hashCode() go together --> | ||
<module name="NestedTryDepth"> <!-- SHOULD not need to adjust this --> | ||
<property name="max" value="2"/> | ||
</module> | ||
<module name="SuperFinalize"/> <!-- We don't actually use this --> | ||
|
||
<!-- Style --> | ||
<module name="LeftCurly"> <!-- Left brace never goes on another line --> | ||
<property name="option" value="eol"/> | ||
</module> <!-- We don't check right brace --> | ||
<module name="DefaultComesLast"/> <!-- default case in switch should be last --> | ||
<module name="GenericWhitespace"/> | ||
|
||
<!-- Naming --> | ||
<module name="ClassTypeParameterName"> | ||
<property name="format" value="^[A-Z][a-zA-Z0-9]*$"/> | ||
</module> | ||
<module name="LocalFinalVariableName"/> | ||
<module name="LocalVariableName"> | ||
<property name="format" value="^[a-z_][a-zA-Z0-9]*$"/> | ||
</module> | ||
<module name="MemberName"> | ||
<property name="format" value="^[a-z_][a-zA-Z0-9]*$"/> | ||
</module> | ||
<module name="MethodName"> | ||
<property name="format" value="^[a-z][a-zA-Z0-9]*$"/> | ||
</module> | ||
<!-- <module name="PackageName"/> Unlikely that we would miss this in a PR --> | ||
<module name="ParameterName"/> | ||
<!-- <module name="TypeName"/> Unlikely that we would miss this in a PR --> | ||
</module> | ||
|
||
<!-- Require the header, something that many people forget and we hate to fix --> | ||
<!-- You should configure the header in your IDE --> | ||
<module name="Header"> | ||
<property name="headerFile" value="config/checkstyle/header.txt"/> | ||
<property name="fileExtensions" value="java"/> | ||
</module> | ||
</module> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<!-- | ||
~ WorldGuard, a suite of tools for Minecraft | ||
~ Copyright (C) sk89q <http://www.sk89q.com> | ||
~ Copyright (C) WorldGuard team and contributors | ||
~ | ||
~ This program is free software: you can redistribute it and/or modify it | ||
~ under the terms of the GNU Lesser General Public License as published by the | ||
~ Free Software Foundation, either version 3 of the License, or | ||
~ (at your option) any later version. | ||
~ | ||
~ This program is distributed in the hope that it will be useful, but WITHOUT | ||
~ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
~ FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License | ||
~ for more details. | ||
~ | ||
~ You should have received a copy of the GNU Lesser General Public License | ||
~ along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
--> | ||
|
||
<!DOCTYPE import-control PUBLIC | ||
"-//Puppy Crawl//DTD Import Control 1.1//EN" | ||
"http://www.puppycrawl.com/dtds/import_control_1_1.dtd"> | ||
|
||
<import-control pkg="com.sk89q"> | ||
<allow pkg="java"/> | ||
<allow pkg="javax"/> | ||
<allow pkg="org.junit"/> | ||
<allow pkg="junit"/> | ||
<allow pkg="org.mockito"/> | ||
<allow pkg="org.hamcrest"/> | ||
<allow pkg="com.sk89q"/> | ||
<allow pkg="org.enginehub"/> | ||
<allow pkg="org.yaml.snakeyaml"/> | ||
<allow pkg="au.com.bytecode.opencsv"/> | ||
<allow pkg="org.khelekore.prtree"/> | ||
<allow pkg="com.google.common"/> | ||
<allow pkg="com.jolbox.bonecp"/> | ||
<allow pkg="org.flywaydb.core"/> | ||
<allow pkg="org.json.simple"/> | ||
</import-control> |
Oops, something went wrong.