I'm getting this exception while building elastic android agent 1.0.0 , i
just simply clone the project and running ./gradlew publishToMavenLocal
FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring project ':agent-sdk'.
java.lang.ClassCastException: class
com.android.build.api.component.analytics.AnalyticsEnabledLibraryVariant_Decorated
cannot be cast to class com.android.build.api.component.impl.ComponentImpl
(com.android.build.api.component.analytics.AnalyticsEnabledLibraryVariant_Decorated
and com.android.build.api.component.impl.ComponentImpl are in unnamed
module of loader
org.gradle.internal.classloader.VisitableURLClassLoader$InstrumentingVisitableURLClassLoader
@79ad01dc)