Azim Ansari
11/13/2024, 11:30 AMAzim Ansari
11/14/2024, 11:40 AMcompileOnly 'androidx.compose.ui:ui:1.3.3'
which should be ok, because at runtime app module is providing implementation 'androidx.compose.ui:ui'
which resolves to version 1.7.5
(latest)
Strange thing is Gradle is not resolving compileOnly in debug mode. In release mode same code works fine.Azim Ansari
11/14/2024, 1:12 PMNote: You can't use the compileOnly configuration with Android Archive (AAR) dependencies.
Source: https://developer.android.com/build/dependencies#dependency_configurations