Skip to content

Commit 1b280e9

Browse files
committed
fix
1 parent 5bcc237 commit 1b280e9

File tree

5 files changed

+305
-299
lines changed

5 files changed

+305
-299
lines changed

buildscript.properties

Lines changed: 200 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,200 @@
1+
modName = GTExpertCore
2+
3+
# This is a case-sensitive string to identify your mod. Convention is to use lower case.
4+
modId = gtexpert
5+
6+
modGroup = com.github.gtexpert.core
7+
8+
# Version of your mod.
9+
# This field can be left empty if you want your mod's version to be determined by the latest git tag instead.
10+
modVersion = 2.5.2-beta
11+
12+
# Whether to use the old jar naming structure (modid-mcversion-version) instead of the new version (modid-version)
13+
includeMCVersionJar = true
14+
15+
# The name of your jar when you produce builds, not including any versioning info
16+
modArchivesBaseName = GTExpertCore
17+
18+
# Will update your build.gradle automatically whenever an update is available
19+
autoUpdateBuildScript = false
20+
21+
minecraftVersion = 1.12.2
22+
23+
# Debug mod compatibility
24+
debug_all = false
25+
debug_gtwp = false
26+
debug_inb = false
27+
debug_aea = false
28+
debug_extracpus = false
29+
debug_thaumcraft = false
30+
debug_thaumenergy = false
31+
debug_eio = false
32+
debug_deda = false
33+
debug_avaritia = false
34+
debug_chisel = false
35+
debug_gtfo = false
36+
37+
# Select a username for testing your mod with breakpoints. You may leave this empty for a random username each time you
38+
# restart Minecraft in development. Choose this dependent on your mod:
39+
# Do you need consistent player progressing (for example Thaumcraft)? -> Select a name
40+
# Do you need to test how your custom blocks interacts with a player that is not the owner? -> leave name empty
41+
# Alternatively this can be set with the 'DEV_USERNAME' environment variable.
42+
developmentEnvironmentUserName = Developer
43+
44+
# Enables using modern java syntax (up to version 17) via Jabel, while still targeting JVM 8.
45+
# See https://github.com/bsideup/jabel for details on how this works.
46+
# Using this requires that you use a Java 17 JDK for development.
47+
enableModernJavaSyntax = true
48+
49+
# Enables runClient/runServer tasks for Java 17 and Java 21 using LWJGL3ify.
50+
# This is primarily used to test if your mod is compatible with platforms running
51+
# Minecraft 1.12.2 on modern versions of Java and LWJGL, and assist in fixing any problems with it.
52+
# Using this requires that you use a Java 17/Java 21 JDK for development.
53+
enableJava17RunTasks = false
54+
55+
# Generate a class with String fields for the mod id, name and version named with the fields below
56+
generateGradleTokenClass = com.github.gtexpert.core.Tags
57+
gradleTokenModId = MODID
58+
gradleTokenModName = MODNAME
59+
gradleTokenVersion = VERSION
60+
61+
# In case your mod provides an API for other mods to implement you may declare its package here. Otherwise, you can
62+
# leave this property empty.
63+
# Example value: apiPackage = api + modGroup = com.myname.mymodid -> com.myname.mymodid.api
64+
apiPackage =
65+
66+
# If you want to keep your API code in src/api instead of src/main
67+
useSrcApiPath = false
68+
69+
# Specify the configuration file for Forge's access transformers here. It must be placed into /src/main/resources/
70+
# There can be multiple files in a comma-separated list.
71+
# Example value: mymodid_at.cfg,jei_at.cfg
72+
accessTransformersFile =
73+
74+
# Provides setup for Mixins if enabled. If you don't know what mixins are: Keep it disabled!
75+
usesMixins = true
76+
# Mixin Provider to use. Primarily changed when needing to use a different version.
77+
mixinProviderSpec = zone.rong:mixinbooter:10.6
78+
# Specify the package that contains all of your Mixins. You may only place Mixins in this package or the build will fail!
79+
mixinsPackage = mixins
80+
# Location of the mixin config refmap. If left, blank, defaults to "mixins.${modId}.refmap.json". Target file must have the "json" extension.
81+
mixinConfigRefmap = mixins.gtexpert.refmap.json
82+
# Automatically generates a mixin config json if enabled, with the name mixins.modid.json
83+
generateMixinConfig = false
84+
# Specify the core mod entry class if you use a core mod. This class must implement IFMLLoadingPlugin!
85+
# Example value: coreModClass = asm.FMLPlugin + modGroup = com.myname.mymodid -> com.myname.mymodid.asm.FMLPlugin
86+
coreModClass = core.GTECoreMod
87+
# If your project is only a consolidation of mixins or a core mod and does NOT contain a 'normal' mod (meaning that
88+
# there is no class annotated with @Mod) you want this to be true. When in doubt: leave it on false!
89+
containsMixinsAndOrCoreModOnly = false
90+
91+
# Enables Mixins even if this mod doesn't use them, useful if one of the dependencies uses mixins.
92+
forceEnableMixins = false
93+
94+
# Outputs pre-transformed and post-transformed loaded classes to run/CLASSLOADER_TEMP. Can be used in combination with
95+
# diff to see exactly what your ASM or Mixins are changing in the target file.
96+
# Optionally can be specified with the 'CORE_MOD_DEBUG' env var. Will output a lot of files!
97+
enableCoreModDebug = false
98+
99+
# Adds CurseMaven, Modrinth Maven, BlameJared maven, and some more well-known 1.12.2 repositories
100+
includeWellKnownRepositories = true
101+
102+
# Adds JEI and TheOneProbe to your development environment. Adds them as 'implementation', meaning they will
103+
# be available at compiletime and runtime for your mod (in-game and in-code).
104+
# Overrides the above setting to be always true, as these repositories are needed to fetch the mods
105+
includeCommonDevEnvMods = true
106+
107+
# Some mods require a specific forge version to launch in. When you need to use one of those mods as a dependency,
108+
# and cannot launch with the forge version required, enable this to strip the forge version requirements from that mod.
109+
# This will add 'strip-latest-forge-requirements' as 'runtimeOnlyNonPublishable'.
110+
# Requires useMixins or forceEnableMixins to be true, as the mod uses mixins to function.
111+
stripForgeRequirements = false
112+
113+
# If enabled, you may use 'shadowCompile' for dependencies. They will be integrated in your jar. It is your
114+
# responsibility check the licence and request permission for distribution, if required.
115+
usesShadowedDependencies = false
116+
# If disabled, won't remove unused classes from shaded dependencies. Some libraries use reflection to access
117+
# their own classes, making the minimization unreliable.
118+
minimizeShadowedDependencies = true
119+
# If disabled, won't rename the shadowed classes.
120+
relocateShadowedDependencies = true
121+
122+
# Separate run directories into "run/client" for runClient task, and "run/server" for runServer task.
123+
# Useful for debugging a server and client simultaneously. If not enabled, it will be in the standard location "run/"
124+
separateRunDirectories = false
125+
126+
# The display name format of versions published to Curse and Modrinth. $MOD_NAME and $VERSION are available variables.
127+
# Default: $MOD_NAME \u2212 $VERSION. \u2212 is the minus character which looks much better than the hyphen minus on Curse.
128+
versionDisplayFormat = $MOD_NAME \u2212 $VERSION
129+
130+
# Publishing to modrinth requires you to set the MODRINTH_API_KEY environment variable to your current modrinth API token.
131+
132+
# The project's ID on Modrinth. Can be either the slug or the ID.
133+
# Leave this empty if you don't want to publish on Modrinth.
134+
# Alternatively this can be set with the 'MODRINTH_PROJECT_ID' environment variable.
135+
modrinthProjectId =
136+
137+
# The project's relations on Modrinth. You can use this to refer to other projects on Modrinth.
138+
# Syntax: scope1-type1:name1;scope2-type2:name2;...
139+
# Where scope can be one of [required, optional, incompatible, embedded],
140+
# type can be one of [project, version],
141+
# and the name is the Modrinth project or version slug/id of the other mod.
142+
# Example: required-project:jei;optional-project:top;incompatible-project:gregtech
143+
modrinthRelations =
144+
145+
146+
# Publishing to CurseForge requires you to set the CURSEFORGE_API_KEY environment variable to one of your CurseForge API tokens.
147+
148+
# The project's numeric ID on CurseForge. You can find this in the About Project box.
149+
# Leave this empty if you don't want to publish on CurseForge.
150+
# Alternatively this can be set with the 'CURSEFORGE_PROJECT_ID' environment variable.
151+
curseForgeProjectId =
152+
153+
# The project's relations on CurseForge. You can use this to refer to other projects on CurseForge.
154+
# Syntax: type1:name1;type2:name2;...
155+
# Where type can be one of [requiredDependency, embeddedLibrary, optionalDependency, tool, incompatible],
156+
# and the name is the CurseForge project slug of the other mod.
157+
# Example: requiredDependency:railcraft;embeddedLibrary:cofhlib;incompatible:buildcraft
158+
curseForgeRelations =
159+
160+
# This project's release type on CurseForge and/or Modrinth
161+
# Alternatively this can be set with the 'RELEASE_TYPE' environment variable.
162+
# Allowed types: release, beta, alpha
163+
releaseType = beta
164+
165+
# Generate a default changelog for releases. Requires git to be installed, as it uses it to generate a changelog of
166+
# commits since the last tagged release.
167+
generateDefaultChangelog = false
168+
169+
# Prevent the source code from being published
170+
noPublishedSources = false
171+
172+
173+
# Publish to a custom maven location. Follows a few rules:
174+
# Group ID can be set with the 'ARTIFACT_GROUP_ID' environment variable, default to 'project.group'
175+
# Artifact ID can be set with the 'ARTIFACT_ID' environment variable, default to 'project.name'
176+
# Version can be set with the 'RELEASE_VERSION' environment variable, default to 'modVersion'
177+
# For maven credentials:
178+
# Username is set with the 'MAVEN_USER' environment variable, default to "NONE"
179+
# Password is set with the 'MAVEN_PASSWORD' environment variable, default to "NONE"
180+
customMavenPublishUrl =
181+
182+
# The group for maven artifacts. Defaults to the 'project.modGroup' until the last '.' (if any).
183+
# So 'mymod' becomes 'mymod' and 'com.myname.mymodid' 'becomes com.myname'
184+
mavenArtifactGroup =
185+
186+
# Enable spotless checks
187+
# Enforces code formatting on your source code
188+
# By default this will use the files found here: https://github.com/GTModpackTeam/Buildscripts/tree/master/spotless
189+
# to format your code. However, you can create your own version of these files and place them in your project's
190+
# root directory to apply your own formatting options instead.
191+
enableSpotless = true
192+
193+
# Enable JUnit testing platform used for testing your code.
194+
# Uses JUnit 5. See guide and documentation here: https://junit.org/junit5/docs/current/user-guide/
195+
enableJUnit = true
196+
197+
# Deployment debug setting
198+
# Uncomment this to test deployments to CurseForge and Modrinth
199+
# Alternatively, you can set the 'DEPLOYMENT_DEBUG' environment variable.
200+
deploymentDebug = false

0 commit comments

Comments
 (0)