-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathgradle.properties
More file actions
89 lines (74 loc) · 3.54 KB
/
gradle.properties
File metadata and controls
89 lines (74 loc) · 3.54 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# Gradle Properties
org.gradle.jvmargs = -Xmx3G
# Compilation Options
generate_sources_jar = true
generate_javadocs_jar = false
# Testing
enable_junit_testing = true
show_testing_output = false
# Shadow
enable_shadow = false
# Set this to true if you want to use old LWJGL2 methods.
# WARNING: Using LWJGL2 is no longer recommend, and some methods in LWJGL2 will be unavailable.
# If you are porting an old mod lazily just set this to true.
enable_lwjglx = true
# Mod Information
# HIGHLY RECOMMEND complying with SemVer for mod_version: https://semver.org/
mod_version = 0.0.1-indev
root_package = mods.Hileb
mod_id = optirefine
mod_name = OptiRefine
# Mod Metadata (Optional)
mod_description=OptiRefine is a mod that utilizes Mixin to patch Optifine, keeping optifine compatible with cleanroom and reducing its destructiveness.
mod_url=https://github.com/Ecdcaeb/OptiRefine
mod_update_json =
# Delimit authors with commas
mod_authors = Hileb
mod_credits =
mod_logo_path =
# Run Configurations
# If multiple arguments/tweak classes are stated, use spaces as the delimiter
minecraft_username = Developer
extra_jvm_args =
enable_foundation_debug = true
# Maven Publishing (Provide secret: MAVEN_USER, MAVEN_PASS)
publish_to_maven = false
# Good for debugging artifacts before uploading to remote maven
# GitHub actions won't run if this is true, test this by running the task `publishToMavenLocal`
publish_to_local_maven = false
maven_name = ${mod_name}
maven_url =
# Publishing
# release_type can only be: release, beta or alpha (applies to CurseForge / Modrinth)
release_type = release
publish_with_changelog = ${{ it.file('CHANGELOG.md').exists() }}
# If any properties changes below this line, refresh gradle again to ensure everything is working correctly.
# Generate Reference Class
# There's a method in build script that generates a reference class with certain fields inside.
# Normally it will contain modid, mod name and mod version.
# You can check the template class in template/Reference.java
# You should change the ignore target in .gitignore if you changed modid or package name
generate_reference_class = true
# Access Transformers
# A way to change visibility of Minecraft's classes, methods and fields
# An example access transformer file is given in the path: `src/main/resources/example_at.cfg`
# AT files should be in the root of src/main/resources with the filename formatted as: `mod_id_at.cfg`
# Use the property `access_transformer_locations` to state custom AT files if you aren't using the default `mod_id_at.cfg` location
# If multiple locations are stated, use spaces as the delimiter
# WARNING: Use MCP name in AT file. Unimined will remap it to srg name when building.
use_access_transformer = true
access_transformer_locations = ${mod_id}_at.cfg
# Coremods
# The most powerful way to change java classes at runtime, it is however very primitive with little documentation.
# Only make a coremod if you are absolutely sure of what you are doing
# Change the property `coremod_includes_mod` to false if your coremod doesn't have a @Mod annotation
# You MUST state a class name for `coremod_plugin_class_name` if you are making a coremod, the class should implement `IFMLLoadingPlugin`
is_coremod = true
coremod_includes_mod = true
coremod_plugin_class_name = mods.Hileb.optirefine.core.OptiRefineCore
# AssetMover
# Convenient way to allow downloading of assets from official vanilla Minecraft servers, CurseForge, or any direct links
# Documentation: https://github.com/CleanroomMC/AssetMover
use_asset_mover = false
asset_mover_version = 2.5
mixin_refmap = optifine.refmap.json