diff --git a/README.md b/README.md index 168759b..a1be53d 100644 --- a/README.md +++ b/README.md @@ -96,5 +96,5 @@ rootProject.name = 'biz.redsoft.myproject' 8. Актуальная версия ядра указывается в файле gradle.properties: ``` -biz.redsoft.ncore.version=1.5.366.14 +biz.redsoft.ncore.version=1.6.69.0 ``` diff --git a/build.gradle b/build.gradle index 00e6af9..088d4ea 100644 --- a/build.gradle +++ b/build.gradle @@ -5,11 +5,13 @@ buildscript { } dependencies { classpath 'biz.redsoft.gradle.ncore:gradle-ncore:+' + classpath 'nu.studer:gradle-credentials-plugin:1.0.4' } } group = 'biz.redsoft.sample' +apply plugin: 'nu.studer.credentials' apply plugin: 'idea' apply plugin: 'application' apply plugin: 'war' @@ -24,6 +26,15 @@ ncore { repositories { mavenLocal() + maven { + url 'http://nexus.red-soft.biz/repository/public' + if (project.credentials.user != null && project.credentials.password != null) { + credentials { + username project.credentials.user + password project.credentials.password + } + } + } } dependencies { diff --git a/gradle.properties b/gradle.properties index fd5c014..1254cad 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1 +1 @@ -biz.redsoft.ncore.version=1.5.366.14 +biz.redsoft.ncore.version=1.6.69.0 diff --git a/ncore-properties.xml b/ncore-properties.xml index 347333f..c466383 100644 --- a/ncore-properties.xml +++ b/ncore-properties.xml @@ -13,4 +13,7 @@ SYSDBA masterkey + + yes--> + yes \ No newline at end of file