diff --git a/build.gradle b/build.gradle index fc79b54..33e442b 100644 --- a/build.gradle +++ b/build.gradle @@ -17,6 +17,8 @@ apply plugin: 'application' apply plugin: 'war' apply plugin: 'ncore' +apply from: "dependencies.gradle" + targetCompatibility = 1.8 ncore { diff --git a/dependencies.gradle b/dependencies.gradle new file mode 100644 index 0000000..8db6fd6 --- /dev/null +++ b/dependencies.gradle @@ -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 + } + } + } +} diff --git a/ncore-properties-template.xml b/ncore-properties-template.xml index 8b84818..7f1d38c 100644 --- a/ncore-properties-template.xml +++ b/ncore-properties-template.xml @@ -3,4 +3,7 @@ true + + db/ncore.zip + ~/sample-db/ncore-sample.fdb