Добавил манифест, поправил starter.bat и starter
This commit is contained in:
@ -92,3 +92,12 @@ 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(' ') + " ${ncoreGenerateControlDataJar.archiveName}"
|
||||
)
|
||||
}
|
||||
}
|
2
src/dist/bin/starter
vendored
2
src/dist/bin/starter
vendored
@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd $(dirname $0)/..
|
||||
bin/ncore $1 -config config/ncore-properties.xml $2 $3 $4 $5
|
||||
bin/sample $1 -config config/ncore-properties.xml $2 $3 $4 $5
|
||||
cd $OLDPWD
|
2
src/dist/bin/starter.bat
vendored
2
src/dist/bin/starter.bat
vendored
@ -1,5 +1,5 @@
|
||||
@echo off
|
||||
|
||||
pushd "%~dp0\.."
|
||||
call bin\ncore.bat %1 -config config\ncore-properties.xml %2 %3 %4 %5
|
||||
call bin\sample.bat %1 -config config\ncore-properties.xml %2 %3 %4 %5
|
||||
popd
|
Reference in New Issue
Block a user