Add Commercial Repositories to CI script

This commit is contained in:
Marcus Hert Da Coregio
2024-02-22 09:32:44 -03:00
parent 8ab387ee5d
commit a894c0ed80

View File

@@ -55,5 +55,29 @@ allprojects {
includeVersion "org.springframework.security", "spring-security-web", "$springSecurityVersion"
}
}
def hasArtifactoryUsername = project.hasProperty('artifactoryUsername')
maven {
name = 'artifactory-snapshot'
if (hasArtifactoryUsername) {
credentials {
username project.artifactoryUsername
password project.artifactoryPassword
}
}
url = 'https://repo.spring.vmware.com/artifactory/spring-commercial-snapshot-local/'
}
maven {
name = 'artifactory-release'
if (hasArtifactoryUsername) {
credentials {
username project.artifactoryUsername
password project.artifactoryPassword
}
}
content {
excludeGroup('net.minidev')
}
url = 'https://repo.spring.vmware.com/artifactory/spring-commercial-release-local/'
}
}
}