From 8c19ae1255c6e2f341fd2ae9561c0ad795de88a8 Mon Sep 17 00:00:00 2001 From: Matthew <99048876+JustFiesta@users.noreply.github.com> Date: Fri, 12 Apr 2024 12:25:26 +0200 Subject: [PATCH] testing gradle and nexus on mac --- build.gradle | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index fbf8a78cd..d59ac8e8f 100644 --- a/build.gradle +++ b/build.gradle @@ -24,7 +24,7 @@ gradle.startParameter.excludedTaskNames += [ "checkFormatAot", "checkFormatAotTe group = 'org.springframework.samples' scmVersion { - localOnly.set(false) + localOnly.set(true) } version = scmVersion {}.version @@ -36,7 +36,7 @@ java { repositories { // mavenCentral() maven { - url 'http://localhost:8081/repository/maven-central-proxy/' + url 'http://localhost:9081/repository/maven-central-proxy/' allowInsecureProtocol = true } } @@ -130,10 +130,9 @@ publishing { repositories { maven { name 'nexus-releases-private' - url "http://localhost:8081/repository/maven-releases-private/" name 'Nexus_Repo' - def releasesRepoUrl = 'http://localhost:8081/repository/maven-releases-private/' - def snapshotsRepoUrl = 'http://localhost:8081/repository/maven-snapshost-private/' + def releasesRepoUrl = 'http://localhost:9081/repository/maven-releases-private/' + def snapshotsRepoUrl = 'http://localhost:9081/repository/maven-snapshost-private/' url = project.version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl allowInsecureProtocol = true