Merge branch 'master' into 'ncore-sample-1.9'

Merge with master

See merge request ncore/ncore-sample!1
This commit is contained in:
2024-01-30 12:17:51 +03:00
15 changed files with 87 additions and 15 deletions

View File

@ -17,6 +17,8 @@ apply plugin: 'application'
apply plugin: 'war'
apply plugin: 'ncore'
apply from: "dependencies.gradle"
targetCompatibility = 1.8
ncore {
@ -42,6 +44,8 @@ dependencies {
provided 'javax.servlet:javax.servlet-api:3.1.0'
testCompile 'org.junit.jupiter:junit-jupiter:5.8.2'
runtimeClasspath files(ncoreGenerateControlDataJar)
runtimeClasspath files(genJar)
}
// writing build process to a log file
@ -91,3 +95,16 @@ task buildRelease(type: GradleBuild) {
}
idea { module.scopes.PROVIDED.plus += [configurations.provided] }
jar{
manifest{
attributes(
'Main-Class': 'biz.redsoft.ncore.client.MainForm',
'Class-Path': configurations.runtimeClasspath.collect { it.name }.join(' ')
)
}
}
startScripts{
project.startScripts.defaultJvmOpts = ['-Dlogback.configurationFile=./config/logback.xml']
}