Gradle - Transformation hasn't been executed yet

Update your wrapper to the latest version in gradle-wrapper.properties.

Mine was

distributionUrl==https\://services.gradle.org/distributions/gradle-4.10.1-all.zip

and I updated to

distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-all.zip


This issue was related to AutoFactory library that causing the build to fail.

After digging the internet a little bit I found that replacing

com.google.auto.factory:auto-factory:1.0-beta5

with

com.google.auto.factory:auto-factory:1.0-beta5@jar

in the dependencies fixes the problem.


Ok Guys!

I found the error. It was mine. I was trying to implement the library instead of testImplement it. I was having the error above thrown by the jetifier tasks. So I just changed it from:

implementation "com.android.tools.lint:lint-api:26.2.1"

implementation "com.android.tools.lint:lint-tests:26.2.1"

to

testImplementation "com.android.tools.lint:lint-api:26.2.1"

testImplementation "com.android.tools.lint:lint-tests:26.2.1"

Thanks Jesus! And there were 2 days...