I have a question about published Android artifact...
# multiplatform
n
I have a question about published Android artifacts. In my Archiva repo I have now
reports-android
and
reports-android-debug
groups. When I look at the artifcats, the AAR of the debug version takes 139K op space while the AAR of the release version from
reports-android
is only 691b. I looked inside, no classes are in there. Is it the way it’s supposed to be or anything is wrong here?
Seems I understand it. For release it removes unused classes, and for a library it means it removes everything. Need to maybe set
minifyEnabled false
.
That resolved the issue indeed.
r
I suppose it removes everything because there is no entry point, so there is no place to start listing what’s used.
Do you really want to disable minify though? Hmm I guess the app using the library would be itself minified so it would take care of it anyway
n
I guess so.