booster / com.didiglobal.booster.transform.util / TransformHelper / <init>

<init>

TransformHelper(input: File, platform: File = AndroidSdk.getAndroidJar().parentFile, artifacts: ArtifactManager = object : ArtifactManager {}, applicationId: String = UUID.randomUUID().toString(), variant: String = "debug")

Utility class for JAR or class file transforming

Parameters

input - The files to transform

platform - The specific android platform location, such as ${ANDROID_HOME}/platforms/android-28

artifacts - The artifact manager

applicationId - An identifier for transform output

variant - The variant name

Author
johnsonlee