kavi
10/29/2021, 2:30 PMCould not resolve all files for configuration ':samples:unflow-compose:debugRuntimeClasspath'.
> Could not resolve com.unflow:unflow:1.0.1.
Required by:
project :samples:unflow-compose > com.unflow:unflow-ui:1.0.1
> Could not determine whether value 7.2.0-alpha02 is compatible with value 7.1.0-beta02 using AgpVersionCompatibilityRule.
> Using multiple versions of the Android Gradle plugin(7.2.0-alpha02, 7.1.0-beta02) in the same build is not allowed.
kavi
10/29/2021, 2:31 PMunflow-ui
is the one i’m trying to add to a sample app, and unflow
is the KMM module that it depends on internally (both are published to maven).
this was working fine a couple of weeks ago, but i’ve no idea what has changed since then to cause this (could be lots of things) 😬Kamil Kalisz
10/29/2021, 9:28 PMUsing multiple versions of the Android Gradle plugin(7.2.0-alpha02, 7.1.0-beta02) in the same build is not allowed.
kavi
11/01/2021, 3:36 PMunflow
module (KMM) and the unflow-ui
module (our android SDK) are being built using the same version of the gradle plugin and in the same project.
this error appears when you try to add the maven dependency to a new project – which we need to support as our lib is an SDK.
and it’s not reasonable to require the customer’s app to be on the same AGP version as us. it’s also not something i’ve ever seen before when adding any other library dependencies, so suspect it’s a problem with our publishing setup or KMM tooling.