Добавлены переменные 'biz.redsoft.public.repo' и 'biz.redsoft.private.repo'

This commit is contained in:
2025-06-10 14:51:49 +03:00
parent 53c26d3b8d
commit 197efd0354
4 changed files with 6 additions and 4 deletions

View File

@ -20,7 +20,7 @@ group = 'biz.redsoft.sample'
repositories {
maven {
url 'https://ncore-repo.red-soft.ru/repository/ncore'
url project.properties.'biz.redsoft.private.repo'
if (project.credentials.user != null && project.credentials.password != null) {
credentials {
username project.credentials.user

View File

@ -1,8 +1,8 @@
repositories {
mavenLocal()
maven {
url 'https://ncore-repo.red-soft.ru/repository/public'
if (project.credentials.user != null && project.credentials.password != null) {
url project.properties.'biz.redsoft.public.repo'
if (project.credentials.user != null && project.credentials.password != null) {
credentials {
username project.credentials.user
password project.credentials.password

View File

@ -3,3 +3,5 @@ org.gradle.jvmargs=-Xmx4g -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError
org.gradle.daemon=false
org.gradle.configureondemand=true
pluginVersion=3.0.82
biz.redsoft.public.repo=https://ncore-repo.red-soft.ru/repository/public
biz.redsoft.private.repo=https://ncore-repo.red-soft.ru/repository/ncore

View File

@ -1,7 +1,7 @@
pluginManagement{
repositories {
mavenLocal()
maven { url 'https://ncore-repo.red-soft.ru/repository/public' }
maven {url getProperty("biz.redsoft.public.repo") }
}
}