Merge remote-tracking branch 'origin/main'

This commit is contained in:
JustFiesta 2024-04-16 17:23:32 +02:00
commit 397be45af8

View file

@ -24,7 +24,7 @@ gradle.startParameter.excludedTaskNames += [ "checkFormatAot", "checkFormatAotTe
group = 'org.springframework.samples' group = 'org.springframework.samples'
scmVersion { scmVersion {
localOnly.set(false) localOnly.set(true)
} }
version = scmVersion {}.version version = scmVersion {}.version
@ -36,7 +36,7 @@ java {
repositories { repositories {
// mavenCentral() // mavenCentral()
maven { maven {
url 'http://localhost:8081/repository/maven-central-proxy/' url 'http://localhost:9081/repository/maven-central-proxy/'
allowInsecureProtocol = true allowInsecureProtocol = true
} }
} }
@ -130,10 +130,9 @@ publishing {
repositories { repositories {
maven { maven {
name 'nexus-releases-private' name 'nexus-releases-private'
url "http://localhost:8081/repository/maven-releases-private/"
name 'Nexus_Repo' name 'Nexus_Repo'
def releasesRepoUrl = 'http://localhost:8081/repository/maven-releases-private/' def releasesRepoUrl = 'http://localhost:9081/repository/maven-releases-private/'
def snapshotsRepoUrl = 'http://localhost:8081/repository/maven-snapshost-private/' def snapshotsRepoUrl = 'http://localhost:9081/repository/maven-snapshost-private/'
url = project.version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl url = project.version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
allowInsecureProtocol = true allowInsecureProtocol = true