-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathgradle.properties
More file actions
64 lines (47 loc) · 3.56 KB
/
gradle.properties
File metadata and controls
64 lines (47 loc) · 3.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Please see buildSrc/src/main/kotlin/ProjectProperties.kt for more help.
########################################################################################################################
# Add extra settings to JVM args of gradle, this setting can modify the default memory used for gradle commands.
# Can be overridden by developer or command line properties. To ensure the develop environment working, required
# to provide enough memory for the Minecraft decompilation process.
org.gradle.jvmargs = -Xmx3G
########################################################################################################################
# Add the maven group of the mod, this setting is the package path of the mod as default, ensure this setting is
# same as the folder structure of the mod.
modGroup = gregtechlite.gtlitecore
# Add the modId setting of the mod, this setting used to generate jar files, and it will be the component in jar
# files' name. For example, if this setting is "examplemod", then the jar file name is "examplemod-modVersion.jar".
modId = gtlitecore
# Add the modName setting of the mod, this setting is archive base name of the mod, it is not the modName setting
# completely, but used to generate the modName setting in build, e.g. the Access Transformer file name.
modName = GregTech Lite Core
# Add the modVersion setting of the mod, this setting used to generate jar files, and it will be the component in
# jar files' name. For example, if this setting is "1.0.0", then the jar file name is "modId-1.0.0.jar".
modVersion = 1.0.0
########################################################################################################################
# Add the minecraftVersion setting of the mod, this setting control the version of develop environment, the forge
# mod loader version is not controllable.
minecraftVersion = 1.12.2
# Add the username setting of the mod, this setting is develop environment only.
userName = Magic_Sweepy
# If any properties changes below this line, run "gradlew setupDecompWorkspace" task and refresh gradle again to
# ensure everything is working correctly.
# Add the generateTokenPath settings, this setting is the path of RFG Tags class.
generateTokenPath = gregtechlite.gtlitecore.api.GTLiteTags
# Add the usesMixins settings, this option will cause the mod dependency MixinBooter.
usesMixins = true
# Add the usesAccessTransformer settings, this option control the Access Transformer of FML of the mod, should
# have an AT configuration file in the mod resources (otherwise will cause exceptions). The default format of
# file name is "modName_at.cfg", please put this configuration file in resource folder of the mod.
usesAccessTransformer = true
# Configure the core mod of your mod, the core mod plugin path will decide the core mod of your mod, used all
# name in Java like "namespace.modid.core.MyModCoreMod".
usesCoreMod = true
includeMod = true
coreModPluginPath = gregtechlite.gtlitecore.mixins.EarlyMixinLoader
########################################################################################################################
# Add the shadowJar setting. Shadow is an extension of Gradle DSL which allowed developer to clone the external
# package jars to the internal package jars. When this option is enabled, then, the "buildJar" step will generate
# a fat jar which named by "modId-modVersion-all.jar", it is auto-generated, but not needed in fact, the original
# jar "modId-modVersion.jar" is the true pack of your mod. Do not enable this option if you know what you want
# to shadow some dependencies to your mod's jar.
usesShadowJar = true