Skip to content

Instantly share code, notes, and snippets.

Avatar

Clay Johnson clayburn

View GitHub Profile
View build.gradle
//see: https://github.com/android/gradle-recipes/blob/master/Groovy/workerEnabledTransformation/app/build.gradle
import com.android.build.api.artifact.ArtifactTransformationRequest
import com.android.build.api.artifact.SingleArtifact
import com.android.build.api.variant.BuiltArtifact
import com.android.build.api.variant.BuiltArtifacts
import com.android.build.api.variant.BuiltArtifactsLoader
import javax.inject.Inject
import java.nio.file.Files