This commit is contained in:
2024-02-15 13:55:13 +03:00
3 changed files with 18 additions and 0 deletions

View File

@ -17,6 +17,8 @@ apply plugin: 'application'
apply plugin: 'war'
apply plugin: 'ncore'
apply from: "dependencies.gradle"
targetCompatibility = 1.8
ncore {

13
dependencies.gradle Normal file
View File

@ -0,0 +1,13 @@
repositories {
mavenCentral()
mavenLocal()
maven {
url 'https://nexus.red-soft.ru/repository/public'
if (project.credentials.user != null && project.credentials.password != null) {
credentials {
username project.credentials.user
password project.credentials.password
}
}
}
}

View File

@ -3,4 +3,7 @@
<properties>
<entry key="ncore.developer.mode">true</entry>
<!-- <entry key="ncore.db.url">jdbc:firebirdsql:localhost:ncore-sample-dev?lc_ctype=WIN1251</entry> -->
<!-- Для автоматизированного рестора базы данных запустить gradlew nRDB-->
<entry key="ncore.db.backup.path">db/ncore.zip</entry>
<entry key="ncore.db.restore.path">~/sample-db/ncore-sample.fdb</entry>
</properties>