Closed b95505017 closed 7 years ago
Where do you get duplicate definition - while compiling the library or while compiling the app?
Also does if work properly without minify enabled?
Sorry I found this may be false alarm.
The real issue is that task embedProguard
can't find proguardLibFile
at first, I have to type twice assembleRelease
so that proguardLibFile.exists()
become true
.
It means that AAR's dependencies's consumerProguardFiles
doesn't include correctly if I did clean release build.
It seems like turn on
minifyEnabled
is not working, I'll get lot's ofduplicate definition of library class
and the output class.jar lost most of the codes.