I'm using cel-java in my Android project. When I tried to update the dependency from 0.11.1 to 0.12.0 the build failed while running the task :app:checkMissionStoreDebugDuplicateClasses with following message:
Execution failed for task ':app:checkMissionStoreDebugDuplicateClasses'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
> Duplicate class dev.cel.common.types.ProtoMessageTypeProvider found in modules compiler-0.12.0.jar -> compiler-0.12.0 (dev.cel:compiler:0.12.0) and runtime-0.12.0.jar -> runtime-0.12.0 (dev.cel:runtime:0.12.0)
Duplicate class dev.cel.common.types.ProtoMessageTypeProvider$1 found in modules compiler-0.12.0.jar -> compiler-0.12.0 (dev.cel:compiler:0.12.0) and runtime-0.12.0.jar -> runtime-0.12.0 (dev.cel:runtime:0.12.0)
Duplicate class dev.cel.common.types.ProtoMessageTypeProvider$Builder found in modules compiler-0.12.0.jar -> compiler-0.12.0 (dev.cel:compiler:0.12.0) and runtime-0.12.0.jar -> runtime-0.12.0 (dev.cel:runtime:0.12.0)
Duplicate class dev.cel.common.types.ProtoMessageTypeProvider$FieldResolver found in modules compiler-0.12.0.jar -> compiler-0.12.0 (dev.cel:compiler:0.12.0) and runtime-0.12.0.jar -> runtime-0.12.0 (dev.cel:runtime:0.12.0)
It seems that both jar files (runtime and compiler) package the same classes which leads to the task failing. If the package name is any indication it seems that these should be in the common package instead.
Am I missing something obvious or is the current packaging broken?
I'm using cel-java in my Android project. When I tried to update the dependency from 0.11.1 to 0.12.0 the build failed while running the task :app:checkMissionStoreDebugDuplicateClasses with following message:
It seems that both jar files (runtime and compiler) package the same classes which leads to the task failing. If the package name is any indication it seems that these should be in the common package instead.
Am I missing something obvious or is the current packaging broken?