fred
11/18/2024, 2:28 PM> Task :lib:generateServiceApolloCodegenSchema FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':lib:generateServiceApolloCodegenSchema'.
> Could not resolve all files for configuration ':lib:apolloServiceCompiler'.
> Resolved 'org.jetbrains.kotlin:kotlin-reflect:2.0.10' which is not part of the dependency lock state
we lock versions with Gradle, and my current suspicion is that this is somehow connected to kotlin poet's bump — I tried setting kotlin-reflect
as an explicit dependency in our project and downgrading to kotlin 2.0.10 (we're on 2.0.21) but nothing seems to make a difference and we always end up with this error (re-locking all configs also doesn't help), any idea on what might be causing this?mbonnin
11/18/2024, 2:31 PMmbonnin
11/18/2024, 2:31 PMmbonnin
11/18/2024, 2:33 PMkotlin-reflect
:
configurations.getByName("apolloServiceCompiler").exclude(module = "kotlin-reflect")
fred
11/18/2024, 2:33 PMmbonnin
11/18/2024, 2:35 PM