Explicitly reference the logback.xml file to prevent gretty from configuring the defaults using groovy. Issue gh-10642
27 lines
822 B
Groovy
27 lines
822 B
Groovy
apply plugin: 'io.spring.convention.spring-sample-war'
|
|
|
|
dependencies {
|
|
compile project(':spring-security-config')
|
|
compile project(':spring-security-core')
|
|
compile project(':spring-security-samples-javaconfig-messages')
|
|
compile project(':spring-security-web')
|
|
compile 'javax.servlet.jsp.jstl:javax.servlet.jsp.jstl-api'
|
|
compile 'javax.validation:validation-api'
|
|
compile 'javax.xml.bind:jaxb-api'
|
|
compile 'org.hibernate:hibernate-validator'
|
|
compile 'org.springframework:spring-jdbc'
|
|
compile 'org.springframework:spring-webmvc'
|
|
compile slf4jDependencies
|
|
|
|
providedCompile 'javax.servlet.jsp:javax.servlet.jsp-api'
|
|
providedCompile 'javax.servlet:javax.servlet-api'
|
|
|
|
runtime 'opensymphony:sitemesh'
|
|
|
|
testCompile project(':spring-security-test')
|
|
}
|
|
|
|
gretty {
|
|
logbackConfigFile = "src/main/resources/logback.xml"
|
|
}
|