mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-30 05:05:20 -05:00
Replace getRemapArchives & getSetupRemappedVariants with a gradle property. (#678)
* Replace getRemapArchives & getSetupRemappedVariants with a gradle property as they are evaluated too early to be set. * Use true for all projects. * Cleanup, you can set properties for each subproject. * Fix docs.
This commit is contained in:
@@ -74,6 +74,10 @@ public interface LoomGradleExtensionAPI {
|
||||
|
||||
Dependency layered(Action<LayeredMappingSpecBuilder> action);
|
||||
|
||||
/**
|
||||
* @deprecated Broken due to be evaluated too early. Replaced with "fabric.loom.dontRemap" gradle property.
|
||||
*/
|
||||
@Deprecated(forRemoval = true)
|
||||
Property<Boolean> getRemapArchives();
|
||||
|
||||
void runs(Action<NamedDomainObjectContainer<RunConfigSettings>> action);
|
||||
@@ -105,13 +109,9 @@ public interface LoomGradleExtensionAPI {
|
||||
Property<String> getCustomMinecraftManifest();
|
||||
|
||||
/**
|
||||
* If true, Loom will replace the {@code -dev} jars in the {@code *Elements} configurations
|
||||
* with remapped outgoing variants.
|
||||
*
|
||||
* <p>Will only apply if {@link #getRemapArchives()} is also true.
|
||||
*
|
||||
* @return the property controlling the setup of remapped variants
|
||||
* @deprecated Broken due to be evaluated too early. Replaced with "fabric.loom.disableRemappedVariants" gradle property.
|
||||
*/
|
||||
@Deprecated(forRemoval = true)
|
||||
Property<Boolean> getSetupRemappedVariants();
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user