update to use j4.pm url

This commit is contained in:
jane 2020-12-22 14:17:53 -05:00
parent 4efc7c2081
commit dc5e13f88c

View file

@ -17,7 +17,7 @@ group = project.maven_group
//declare extra repository for local maven
repositories {
maven {
url = 'http://192.168.1.156:8081/repository/maven-public/'
url = 'http://nexus.j4.pm/repository/maven-public/'
}
}
@ -86,8 +86,8 @@ publishing {
repositories {
// uncomment to publish to the local maven
maven {
def snapshotsUrl = 'http://192.168.1.156:8081/repository/maven-snapshots/'
def releasesUrl = 'http://192.168.1.156:8081/repository/maven-releases/'
def snapshotsUrl = 'http://nexus.j4.pm/repository/maven-snapshots/'
def releasesUrl = 'http://nexus.j4.pm/repository/maven-releases/'
url = version.endsWith('SNAPSHOT') ? snapshotsUrl : releasesUrl
credentials {
username 'admin'