-
Notifications
You must be signed in to change notification settings - Fork 6
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
1 parent
7790a6f
commit 17b33c1
Showing
5 changed files
with
470 additions
and
8 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
29 changes: 29 additions & 0 deletions
29
src/main/java/com/gtnewhorizons/gtnhgradle/GTNHConstants.java
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,29 @@ | ||
package com.gtnewhorizons.gtnhgradle; | ||
|
||
import org.jetbrains.annotations.NotNull; | ||
|
||
/** Various useful constants related to GTNH projects. */ | ||
@SuppressWarnings("unused") | ||
public class GTNHConstants { | ||
|
||
/** URL of the "public" GTNH Maven repository, contains all our and mirrored packages */ | ||
public static final @NotNull String GTNH_MAVEN_PUBLIC_REPOSITORY = "https://nexus.gtnewhorizons.com/repository/public/"; | ||
/** URL of the "releases" GTNH Maven repository, contains only our mod packages */ | ||
public static final @NotNull String GTNH_MAVEN_RELEASES_REPOSITORY = "https://nexus.gtnewhorizons.com/repository/releases/"; | ||
/** The current Checkstyle configuration file contents used */ | ||
public static final @NotNull String CHECKSTYLE_CONFIG = """ | ||
<!DOCTYPE module PUBLIC | ||
"-//Puppy Crawl//DTD Check Configuration 1.3//EN" | ||
"http://www.puppycrawl.com/dtds/configuration_1_3.dtd"> | ||
<module name="Checker"> | ||
<module name="TreeWalker"> | ||
<!-- Use CHECKSTYLE:OFF and CHECKSTYLE:ON comments to suppress checkstyle lints in a block --> | ||
<module name="SuppressionCommentFilter"/> | ||
<module name="AvoidStarImport"> | ||
<!-- Allow static wildcard imports for cases like Opcodes and LWJGL classes, these don't get created accidentally by the IDE --> | ||
<property name="allowStaticMemberImports" value="true"/> | ||
</module> | ||
</module> | ||
</module> | ||
"""; | ||
} |
Oops, something went wrong.