[7.0] Show a warning when renamer is configured to reobf to srg on 1.20.5+

Open
#1,076 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
java

Research direction

Start by tracing the renamer plugin's configuration and the problems-report handling for reobfuscation. Reproduce the 1.20.5+ case where reobf-to-SRG is configured on the jar task, then verify that the resulting warning clearly identifies the unsafe configuration.

Written by the indexing model from the issue text.

Description

Similar to #1047. I've seen at least one case in the wild of someone mistakenly applying the renamer plugin and configuring it on the jar task on a version that has runtime MojMap, causing a broken production jar.

It would be good if this was detected and a problems report warning issued to help devs troubleshoot/identify their mistake.

Dominant language
Java
Stars
574
Forks
450
Avg merge
16h 20m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MinecraftForge/ForgeGradle

All issues in MinecraftForge/ForgeGradle

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.