I have a silly question about setting up Guava without IDE. My Gradle project's structure is like below.
├── build
├── lib
│ └──guava-31.1-jre.jar
├── build.gradle
└── src
└── main
└── java
And file 'build.gradle' is like
plugins {
id 'application'
}
repositories {
mavenCentral()
}
dependencies {
implementation("com.google.guava:guava:31.1-jre")
}
I used command gradle --refresh-dependencies to make sure my dependency has been changed. When I run my project, there still have error package com.google.common does not exist.
Can someone teach the proper way to set up Google Guava? I think I am misunderstood about lots of things. Appreciates.