Created
December 6, 2021 07:35
-
-
Save romtsn/d0d0f355534e0750e1b263532552e4b3 to your computer and use it in GitHub Desktop.
Bytecode Transformations: transformClassesWith
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
variant.transformClassesWith( | |
SpanAddingClassVisitorFactory::class.java, | |
InstrumentationScope.ALL | |
) { params -> | |
if (extension.tracingInstrumentation.forceInstrumentDependencies.get()) { | |
params.invalidate.setDisallowChanges(System.currentTimeMillis()) | |
} | |
params.debug.setDisallowChanges( | |
extension.tracingInstrumentation.debug.get() | |
) | |
params.tmpDir.set(tmpDir) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment