Jump to content
 

Phillrb

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. Hello, I'm currently including my own Android .AAR library in my Unity project (Unity 2019.1.8f1) which has a conflict of dependencies with the WaveVR SDK. The library requires the following to support its use of Kotlin: implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.72" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1" These includes are so that the library can utilise: kotlinx.coroutines.GlobalScope kotlinx.coroutines.async My project makes use of a 'mainTemplate.gradle' file to declare the above dependencies. There is a '**deps**' marker included which allows the WaveSDK to have its own dependencies injected into this file. The end result are 100s of the following type of duplicate class errors: Duplicate class kotlin.reflect.KMutableProperty1$Setter found in modules kotlin-stdlib-1.4.0.jar (org.jetbrains.kotlin:kotlin-stdlib:1.4.0) and org.jetbrains.kotlin-kotlin-stdlib-1.3.20.jar (:wvr_client:) So... What are the Android library dependencies of the WaveSDK? How can I workaround this issue? Perhaps I can exclude some groups as suggested here: https://stackoverflow.com/questions/48027019/how-to-manage-different-support-library-versions-for-3rd-party-deps-with-gradle Thanks
×
×
  • Create New...