I use fat-aar to export aars. Then I want dependency the aars for a other project(Unity -> Android), it failed:
log
> Duplicate class kotlin.ArrayIntrinsicsKt found
in
modules Module_Plugin_Facebook-release-runtime (:Module_Plugin_Facebook-release:) //my custom module
and
kotlin-stdlib-1.8.0 (org.jetbrains.kotlin:kotlin-stdlib:1.8.0)
It seems that "org.jetbrains.kotlin:kotlin-stdlib:1.8.0" is not dependency by implementation xxx, bu it dependency by plugins{ id 'org.jetbrains.kotlin.android' }
Describe the issue
I got a android project with kotlin.
I use fat-aar to export aars. Then I want dependency the aars for a other project(Unity -> Android), it failed:
log
It seems that "org.jetbrains.kotlin:kotlin-stdlib:1.8.0" is not dependency by
implementation xxx
, bu it dependency byplugins{ id 'org.jetbrains.kotlin.android' }
So, How to exclude it?
Build Environment