realm-kotlin
realm-kotlin copied to clipboard
Use Dependency substitution for Android JVM Tests based on Gradle attributes rather than configuration names
Fallout from https://github.com/realm/realm-kotlin/pull/1400#discussion_r1212747480 and https://github.com/realm/realm-kotlin/pull/1399#discussion_r1211654741
For our users, the problem is that our code makes assumptions about the name of the configuration used for Android Tests (JVM), which feels brittle.
For our internal tests the problem is that we cannot rely on the configuration being published and currently replacing using attribute selectors when replacing with a project do not seem to work.
While both solutions work, neither are ideal and should be fixed when time.
TODO
- Create a YouTrack about this, as a minimum they probably know if a workaround exists.