Anyone faced an issue with `accompanist` library a...
# compose
r
Anyone faced an issue with
accompanist
library and
hiltAggregateDepsDebug
Copy code
* What went wrong:
Execution failed for task ':app:hiltAggregateDepsDebug'.
> Could not resolve all files for configuration ':app:hiltCompileOnlyDebug'.
   > Could not resolve io.github.aakira:napier:1.4.1.
     Required by:
         project :app > com.google.accompanist:accompanist-permissions:0.18.0
         project :app > com.google.accompanist:accompanist-pager:0.18.0
      > The consumer was configured to find attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug'. However we cannot choose between the following variants of io.github.aakira:napier:1.4.1:
          - commonMainMetadataElements-published
          - debugApiElements-published
          - debugRuntimeElements-published
          - iosArm64ApiElements-published
          - iosArm64MetadataElements-published
          - iosX64ApiElements-published
          - iosX64MetadataElements-published
          - jsApiElements-published
          - jsRuntimeElements-published
          - jvmApiElements-published
          - jvmRuntimeElements-published
          - metadataApiElements-published
👌 1
🧵 1
a
only happens when I add this
Copy code
hilt {
    enableAggregatingTask = true
}
r
I used this
enableExperimentalClasspathAggregation = true
and it works fine