Refactored ParanoidPlugin so it can be applied to java modules as well as android modules.
Introduced support for Android Components Variant API for projects using AGP >= 7.2.0. In this case paranoid plugin should be applied to every module that declares @Obfuscate annotation.
Classes transformed by paranoid plugin now marked with special attribute (see WatermarkClassVisitor), so ParanoidProcessor can validate paranoid plugin usage by checking whether this attribute is present in should-be-transformed classes available in classpath.
Deprecated some paranoid extension properties, since they are no longer applicable for projects transformed by ParanoidTransformTask.
ParanoidPlugin
so it can be applied to java modules as well as android modules.@Obfuscate
annotation.WatermarkClassVisitor
), soParanoidProcessor
can validate paranoid plugin usage by checking whether this attribute is present in should-be-transformed classes available in classpath.ParanoidTransformTask
.