From 5606fd50047d117e0daabd7a907b0c5255966686 Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Mon, 18 Apr 2022 13:19:22 -0500 Subject: [PATCH] Password for plugins --- build.gradle | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 8a10431424..3995046557 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,15 @@ buildscript { classpath "com.netflix.nebula:nebula-project-plugin:8.2.0" } repositories { - maven { url 'https://repo.spring.io/plugins-snapshot' } + maven { + url 'https://repo.spring.io/plugins-release' + if (project.hasProperty('artifactoryUsername')) { + credentials { + username = project.artifactoryUsername + password = project.artifactoryPassword + } + } + } maven { url 'https://plugins.gradle.org/m2/' } } }