Reputation: 371
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.
Upvotes: 1
Views: 1261
Reputation: 9437
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
Upvotes: 2