Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
gradle plugin
// 获取 tansformTasks
Field transformsField = Class.forName("com.android.build.gradle.internal.pipeline.TransformManager").getDeclaredField("transforms")
transformsField.setAccessible(true)
List<Transform> transforms = transformsField.get(variant.variantData.scope.getTransformManager())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment