1

I am developing application using spring boot, i am using gradle as build tool, i want to configure gradle to resolve their dependencies instead of maven central or jcenter go to my Local nexus server get all dependencies from their and build project. I did't found any configuration.

Natesh
  • 331
  • 1
  • 4
  • 15

1 Answers1

2

Add your nexus url in build.gradle.

repositories {
   // mavenLocal()
   // mavenCentral()
   // jcenter()
   //maven { url 'http://10.9.0.31:8099/repository/maven-public/' }
    maven { url 'http://ip:port/repository/maven-public/' }
}

For nexus configuration look at this

GolamMazid Sajib
  • 8,698
  • 6
  • 21
  • 39
  • this link is not opening.. Kindly paste full link separately. and how do i upload all jar dependencies in my nexus – Natesh Jan 10 '20 at 07:14