You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to reproduce
I was recently forced to upgrade the analytics from 1.x.x to 2.13.5
After following the migration steps, I was able to compile and run iOS successfully
However Android fails to compile with the error below (The Kotlin Gradle plugin was loaded multiple times)
The Kotlin Gradle plugin was loaded multiple times in different subprojects, which is not supported and may break the build.
This might happen in subprojects that apply the Kotlin plugins with the Gradle 'plugins { ... }' DSL if they specify explicit versions, even if the versions are equal.
Please add the Kotlin plugin to the common parent project or the root project, then remove the versions in the subprojects.
If the parent project does not need the plugin, add 'apply false' to the plugin line.
See: https://docs.gradle.org/current/userguide/plugins.html#sec:subprojects_plugins_dsl
The Kotlin plugin was loaded in the following projects: ':segment_analytics-react-native', ':segment_sovran-react-native'
The text was updated successfully, but these errors were encountered:
Hi @stefoid sorry to hear you're running into issues. It's hard to say what is happening without more information, I'm afraid. Can you reach out to friends@segment.com? Our support engineers are much better suited to aid in this kind of investigation. If there is a bug we need to resolve, they can escalate it with us accordingly. Thanks!
analytics-react-native
version: 2.13.5Steps to reproduce
I was recently forced to upgrade the analytics from 1.x.x to 2.13.5
After following the migration steps, I was able to compile and run iOS successfully
However Android fails to compile with the error below (The Kotlin Gradle plugin was loaded multiple times)
gradle-wrapper.properties
distributionUrl=https://services.gradle.org/distributions/gradle-7.5.1-all.zip
Expected behavior
Actual behavior
1_Build.txt
The Kotlin Gradle plugin was loaded multiple times in different subprojects, which is not supported and may break the build.
This might happen in subprojects that apply the Kotlin plugins with the Gradle 'plugins { ... }' DSL if they specify explicit versions, even if the versions are equal.
Please add the Kotlin plugin to the common parent project or the root project, then remove the versions in the subprojects.
If the parent project does not need the plugin, add 'apply false' to the plugin line.
See: https://docs.gradle.org/current/userguide/plugins.html#sec:subprojects_plugins_dsl
The Kotlin plugin was loaded in the following projects: ':segment_analytics-react-native', ':segment_sovran-react-native'
The text was updated successfully, but these errors were encountered: