net-http/net-http-server-application-web/build.gradle

31 lines
1.1 KiB
Groovy

apply plugin: 'application'
dependencies {
api project(':net-http-server-netty-secure')
api project(':net-http-server-application-config')
api project(':net-http-template-groovy')
api project(':net-http-j2html')
api libs.jdbc.query
implementation libs.webjars.bootstrap
implementation libs.webjars.jquery
implementation libs.webjars.fontawesome
testRuntimeOnly libs.net.bouncycastle
}
application {
mainClass.set('org.xbib.net.http.server.application.web.j2html.Bootstrap')
applicationDefaultJvmArgs = [
'-Dfile.encoding=UTF-8',
'-Duser.language=de',
'-Duser.country=DE',
'-Djava.awt.headless=true',
'-Djava.util.logging.config.file=src/main/resources/logging.properties',
'-Dapplication.home=src/main/application',
'-Dapplication.profile=dev',
'-Dapplication.name=web',
'-Ddatabase.url=jdbc:derby:sample',
'-Ddatabase.flavor=derby',
'-Ddatabase.user=derby',
'-Ddatabase.password=derby'
]
}