I'm currently trying to resolve an issue with one of our CI builds when upgrading our mparticle version from 5.35.1 to 5.38.2 (it's a seemingly unrelated dependency resolution error but only happens on this build). The changelog for the past couple of releases of Braze/appboy have recommended adding freeCompilerArgs = ['-Xjvm-default=all'] to your build.gradlekotlinOptions. Adding this flag does seem to fix this particular error for some reason...
What I am wondering is: if this flag was added to the mparticle kit, would that mean consumers wouldn't have to? Or would it not make a difference since it's an api dependency? Is this something that should be mentioned in the docs/readme?
I'm currently trying to resolve an issue with one of our CI builds when upgrading our mparticle version from
5.35.1
to5.38.2
(it's a seemingly unrelated dependency resolution error but only happens on this build). The changelog for the past couple of releases of Braze/appboy have recommended addingfreeCompilerArgs = ['-Xjvm-default=all']
to yourbuild.gradle
kotlinOptions
. Adding this flag does seem to fix this particular error for some reason...What I am wondering is: if this flag was added to the mparticle kit, would that mean consumers wouldn't have to? Or would it not make a difference since it's an
api
dependency? Is this something that should be mentioned in the docs/readme?