Unable to resolve dependencies (gradle) - Sonatype Nexus Repository - Sonatype Community

Unable to resolve dependencies (gradle)

post by sreenath.thatikonda on Aug 22, 2023

Sreenath Thatikonda

We recently set up a Nexus repository on one of our AWS EC2 accounts and to test the repo, we uploaded a JAR file and tried using that JAR in my build.gradle file. But it seems like Gradle is unable to find the artifact. I am getting the following error: Declare repository providing the artifact, see the documentation at Declaring repositories

Attached is the screenshot of my simple build.gradle file.

Is there any other setup to be done before I can start resolving those dependencies? Do let me know.

post by sreenath.thatikonda on Aug 22, 2023

Sreenath Thatikonda

This is my Nexus page.