I want to add Google Guice to my multi-module Gradle project. So I added this to the relevant module's build.gradle file:
implementation group: 'com.google.inject', name: 'guice', version: '5.1.0'
When I build it, the files download and it shows:
Build successfull
But then when I want to use it, for example I add
import com.google.inject.Singleton;
it reports:
Cannot resolve symbol 'google'
I use IntellijIDEA.
I don't know much about it, so I would appreciate it if someone could explain to me what I'm doing wrong or how to correctly add this library to the project.