Добавил путь к конфигурации logback в генерируемый sample.bat
This commit is contained in:
@ -98,4 +98,8 @@ jar{
|
|||||||
'Class-Path': configurations.runtimeClasspath.collect { it.name }.join(' ') + " ${ncoreGenerateControlDataJar.archiveName}"
|
'Class-Path': configurations.runtimeClasspath.collect { it.name }.join(' ') + " ${ncoreGenerateControlDataJar.archiveName}"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
startScripts{
|
||||||
|
project.startScripts.defaultJvmOpts = ['-Dlogback.configurationFile=./config/logback.xml']
|
||||||
}
|
}
|
Reference in New Issue
Block a user