Interface DeobfExtension
The extension for working with deobfuscation in ForgeGradle. It is automatically applied by the minecraft extension when a Minecraft dependency is declared.
Deobfuscation is a necessary part of working with Forge for Minecraft 1.20.4 and older. This extension is designed to make that burden as little as possible.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault org.gradle.api.artifacts.ExternalModuleDependencyCreates (or marks if existing) the given dependency as an obfuscated dependency to be deobfuscated.org.gradle.api.artifacts.ExternalModuleDependencyCreates (or marks if existing) the given dependency as an obfuscated dependency to be deobfuscated and configures it with the given closure.default org.gradle.api.artifacts.ExternalModuleDependencyCreates (or marks if existing) the given dependency as an obfuscated dependency to be deobfuscated and applies the given action to it.default org.gradle.api.artifacts.ExternalModuleDependencydeobf(org.gradle.api.provider.Provider<?> value) Creates (or marks if existing) the given dependency as an obfuscated dependency to be deobfuscated.default org.gradle.api.artifacts.ExternalModuleDependencyCreates (or marks if existing) the given dependency as an obfuscated dependency to be deobfuscated and configures it with the given closure.default org.gradle.api.artifacts.ExternalModuleDependencydeobf(org.gradle.api.provider.Provider<?> value, org.gradle.api.Action<? super org.gradle.api.artifacts.Dependency> action) Creates (or marks if existing) the given dependency as an obfuscated dependency to be deobfuscated and applies the given action to it.default org.gradle.api.artifacts.ExternalModuleDependencydeobf(org.gradle.api.provider.ProviderConvertible<?> value) Creates (or marks if existing) the given dependency as an obfuscated dependency to be deobfuscated.default org.gradle.api.artifacts.ExternalModuleDependencyCreates (or marks if existing) the given dependency as an obfuscated dependency to be deobfuscated and configures it with the given closure.default org.gradle.api.artifacts.ExternalModuleDependencydeobf(org.gradle.api.provider.ProviderConvertible<?> value, org.gradle.api.Action<? super org.gradle.api.artifacts.Dependency> action) Creates (or marks if existing) the given dependency as an obfuscated dependency to be deobfuscated and applies the given action to it.
-
Field Details
-
NAME
-
-
Method Details
-
deobf
org.gradle.api.artifacts.ExternalModuleDependency deobf(Object value, @DelegatesTo(org.gradle.api.artifacts.Dependency.class) Closure closure) Creates (or marks if existing) the given dependency as an obfuscated dependency to be deobfuscated and configures it with the given closure.- Parameters:
value- The dependencyclosure- The closure to configure the dependency with- Returns:
- The dependency
- See Also:
-
deobf
default org.gradle.api.artifacts.ExternalModuleDependency deobf(Object value, org.gradle.api.Action<? super org.gradle.api.artifacts.Dependency> action) Creates (or marks if existing) the given dependency as an obfuscated dependency to be deobfuscated and applies the given action to it.- Parameters:
value- The dependencyaction- The action to apply to the dependency attributes- Returns:
- The dependency
- See Also:
-
deobf
Creates (or marks if existing) the given dependency as an obfuscated dependency to be deobfuscated.- Parameters:
value- The dependency- Returns:
- The dependency
- See Also:
-
deobf
default org.gradle.api.artifacts.ExternalModuleDependency deobf(org.gradle.api.provider.Provider<?> value, @DelegatesTo(org.gradle.api.artifacts.Dependency.class) Closure closure) Creates (or marks if existing) the given dependency as an obfuscated dependency to be deobfuscated and configures it with the given closure.- Parameters:
value- The dependencyclosure- The closure to configure the dependency with- Returns:
- The dependency
- See Also:
-
deobf
default org.gradle.api.artifacts.ExternalModuleDependency deobf(org.gradle.api.provider.Provider<?> value, org.gradle.api.Action<? super org.gradle.api.artifacts.Dependency> action) Creates (or marks if existing) the given dependency as an obfuscated dependency to be deobfuscated and applies the given action to it.- Parameters:
value- The dependencyaction- The action to apply to the dependency attributes- Returns:
- The dependency
- See Also:
-
deobf
default org.gradle.api.artifacts.ExternalModuleDependency deobf(org.gradle.api.provider.Provider<?> value) Creates (or marks if existing) the given dependency as an obfuscated dependency to be deobfuscated.- Parameters:
value- The dependency- Returns:
- The dependency
- See Also:
-
deobf
default org.gradle.api.artifacts.ExternalModuleDependency deobf(org.gradle.api.provider.ProviderConvertible<?> value, @DelegatesTo(org.gradle.api.artifacts.Dependency.class) Closure closure) Creates (or marks if existing) the given dependency as an obfuscated dependency to be deobfuscated and configures it with the given closure.- Parameters:
value- The dependencyclosure- The closure to configure the dependency with- Returns:
- The dependency
- See Also:
-
deobf
default org.gradle.api.artifacts.ExternalModuleDependency deobf(org.gradle.api.provider.ProviderConvertible<?> value, org.gradle.api.Action<? super org.gradle.api.artifacts.Dependency> action) Creates (or marks if existing) the given dependency as an obfuscated dependency to be deobfuscated and applies the given action to it.- Parameters:
value- The dependencyaction- The action to apply to the dependency attributes- Returns:
- The dependency
- See Also:
-
deobf
default org.gradle.api.artifacts.ExternalModuleDependency deobf(org.gradle.api.provider.ProviderConvertible<?> value) Creates (or marks if existing) the given dependency as an obfuscated dependency to be deobfuscated.- Parameters:
value- The dependency- Returns:
- The dependency
- See Also:
-