Interface MixinSourceSetConfig
- All Known Subinterfaces:
MixinConfig
public interface MixinSourceSetConfig
-
Method Summary
Modifier and TypeMethodDescriptionorg.gradle.api.provider.Property<String> The current workspace mapping type, used so that Mixin can translate your obfuscated names for creating the refmaporg.gradle.api.provider.Property<Boolean> By default, when a Mixin target is annotated with@Overwrite, it is enforced that a Javadoc block above it contains at least an@authorand@reasontag.org.gradle.api.provider.Property<Boolean> Prevents the annotation processor from creating a small.csvfile with data pertaining to annotation processing.org.gradle.api.provider.Property<Boolean> Stops the Mixin annotation processor from throwing an error when it finds an invalid Mixin targetorg.gradle.api.file.ConfigurableFileCollectionExtra mapping files to use for creating refmaps, usually for obfuscated external dependenciesorg.gradle.api.provider.ListProperty<String> The other half ofgetDefaultObfuscationEnv(), the output mapping type to translate to for creating entries in the refmapWhich message types to hide, warn about or simply display.org.gradle.api.provider.Property<String> The level of complaining the Mixin annotation processor will do when it finds an@Overwriteannotated target lacking the@authorand@reasontags.org.gradle.api.provider.Property<Boolean> getQuiet()"Quietens" the console by suppressing trivial and often unneeded messagesorg.gradle.api.provider.Property<String> The reference mapping for this source set.org.gradle.api.provider.Property<Boolean> Prefix mixin logs with the type of message, such as[MIXIN_0100]which refers to a missing@authortagExtra data passed to the compiler as key-value pairs.
-
Method Details
-
getRefMap
org.gradle.api.provider.Property<String> getRefMap()The reference mapping for this source set. Will inform Mixin of which symbols are mapped to which names at runtime -
getDisableTargetValidator
org.gradle.api.provider.Property<Boolean> getDisableTargetValidator()Stops the Mixin annotation processor from throwing an error when it finds an invalid Mixin target -
getDisableTargetExport
org.gradle.api.provider.Property<Boolean> getDisableTargetExport()Prevents the annotation processor from creating a small.csvfile with data pertaining to annotation processing. Keeping this on will make the AP run slightly faster, but may be worth turning off if you are getting AP file access errors -
getDisableOverwriteChecker
org.gradle.api.provider.Property<Boolean> getDisableOverwriteChecker()By default, when a Mixin target is annotated with@Overwrite, it is enforced that a Javadoc block above it contains at least an@authorand@reasontag. Turning this off will prevent Mixin from complaining (ignore, warn or error, seegetOverwriteErrorLevel()) in such a case where these tags are missing -
getOverwriteErrorLevel
org.gradle.api.provider.Property<String> getOverwriteErrorLevel()The level of complaining the Mixin annotation processor will do when it finds an@Overwriteannotated target lacking the@authorand@reasontags. Can be any of the following:ignore: Do nothingwarning: Write a warning message to the consoleerror: Throw an error
-
getDefaultObfuscationEnv
org.gradle.api.provider.Property<String> getDefaultObfuscationEnv()The current workspace mapping type, used so that Mixin can translate your obfuscated names for creating the refmap -
getMappingTypes
org.gradle.api.provider.ListProperty<String> getMappingTypes()The other half ofgetDefaultObfuscationEnv(), the output mapping type to translate to for creating entries in the refmap -
getTokens
-
getExtraMappings
org.gradle.api.file.ConfigurableFileCollection getExtraMappings()Extra mapping files to use for creating refmaps, usually for obfuscated external dependencies -
getQuiet
org.gradle.api.provider.Property<Boolean> getQuiet()"Quietens" the console by suppressing trivial and often unneeded messages -
getShowMessageTypes
org.gradle.api.provider.Property<Boolean> getShowMessageTypes()Prefix mixin logs with the type of message, such as[MIXIN_0100]which refers to a missing@authortag -
getMessages
Which message types to hide, warn about or simply display. These can be seen by enablinggetShowMessageTypes()Example:
"MIXIN_0100": "ignore"
-