Meta Inf Strip Transform
abstract class MetaInfStripTransform : TransformAction<MetaInfStripTransform.Parameters>
Content copied to clipboard
Gradle's TransformAction that strips out unsupported Java classes from resources/META-INF/versions folder of a jar. This is the case for Multi-Release JARs, when a single jar contains classes for different Java versions.
For Android it may have bad consequences, as the min supported Java version is 11 at the moment, and this can cause incompatibilities, if AGP or other plugins erroneously consider .class files under the META-INF folder during build-time transformations/instrumentation.
The minimum supported Java version of the latest AGP is 11 -> https://developer.android.com/studio/releases/gradle-plugin#7-1-0
Constructors
MetaInfStripTransform
Link copied to clipboard
fun MetaInfStripTransform()
Content copied to clipboard
Types
Functions
Properties
inputArtifact
Link copied to clipboard
@get:PathSensitive(value = PathSensitivity.RELATIVE )
@get:InputArtifact
Content copied to clipboard