Add custom mappings support to abstract remap jar task. (#1297)

* Add custom mappings support to abstract remap jar task.

Closes #1296

* Fix build
This commit is contained in:
modmuss
2025-04-28 22:09:45 +01:00
committed by GitHub
parent 8014d2c18b
commit 88dba47e5d
4 changed files with 81 additions and 1 deletions

View File

@@ -94,6 +94,14 @@ public abstract class AbstractRemapJarTask extends Jar {
@Optional
public abstract Property<String> getClientOnlySourceSetName();
/**
* Optionally supply a single mapping file or jar file containing mappings to be used for remapping.
*/
@ApiStatus.Experimental
@InputFiles
@Optional
public abstract ConfigurableFileCollection getCustomMappings();
@Input
@Optional
@ApiStatus.Internal