https://kotlinlang.org logo
#squarelibraries
Title
# squarelibraries
d

Daniel Perez

10/24/2023, 6:47 PM
I am trying to build Anvil but I cannot get it to sync in my IDE with this error:
A problem occurred evaluating project ':gradle-plugin'.
> Could not get unknown property 'libs' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
Windows 11 IntelliJ IDEA 2023.2.3 Java 11 + Using the Gradle Wrapper(8.3 on the main branch) Has anyone run into this?
There appears to be some magic with nested builds and sharing the version catalog. Right now I'm trying to figure out why the
gradle-plugin
build doesn't recognize
libs
in it's
build.gradle
file, despite its'
settings.gradle
file specifying the version catalog
I've followed up with this issue for anyone else who finds this in the future: https://github.com/square/anvil/issues/757