Files
spring-security/samples/xml/helloworld/spring-security-samples-xml-helloworld.gradle
Eleftheria Stein 3d4ad5fe50 Make gretty samples compatible with logback 1.2.9
Explicitly reference the logback.xml file to prevent gretty from configuring the defaults using groovy.

Issue gh-10642
2021-12-20 14:10:48 -03:00

38 lines
1.2 KiB
Groovy

/*
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
apply plugin: 'io.spring.convention.spring-sample-war'
dependencies {
compile project(':spring-security-config')
compile project(':spring-security-web')
compile jstlDependencies
compile slf4jDependencies
compile 'javax.servlet.jsp:javax.servlet.jsp-api'
providedCompile 'javax.servlet:javax.servlet-api'
testCompile project(':spring-security-test')
testCompile 'org.skyscreamer:jsonassert'
testCompile 'org.springframework:spring-test'
integrationTestCompile seleniumDependencies
}
gretty {
logbackConfigFile = "src/main/resources/logback.xml"
}