apply plugin: 'io.spring.convention.spring-sample-war' dependencies { providedCompile 'javax.servlet:javax.servlet-api' runtime project(':spring-security-config') runtime project(':spring-security-web') runtime slf4jDependencies testCompile project(':spring-security-config') testCompile project(':spring-security-web') } //jettyRun { // userRealms = [jettyRun.class.classLoader.loadClass('org.mortbay.jetty.security.HashUserRealm').newInstance('Preauth Realm' '$projectDir/realm.properties')] //}