// NOTE: The OpenID 1.0 and 2.0 protocols have been deprecated and users are
// <a href="https://openid.net/specs/openid-connect-migration-1_0.html">encouraged to migrate</a>
// to <a href="https://openid.net/connect/">OpenID Connect</a>, which is supported by <code>spring-security-oauth2</code>.

apply plugin: 'io.spring.convention.spring-module'

dependencies {
	api project(':spring-security-core')
	api project(':spring-security-web')
	api('com.google.inject:guice') {
		exclude group: 'aopalliance', module: 'aopalliance'
	}
	// openid4java has a compile time dep on guice with a group
	// name which is different from the maven central one.
	// We use the maven central version here instead.
	api('org.openid4java:openid4java-nodeps') {
		exclude group: 'com.google.code.guice', module: 'guice'
	}
	api 'org.springframework:spring-aop'
	api 'org.springframework:spring-beans'
	api 'org.springframework:spring-context'
	api 'org.springframework:spring-core'
	api 'org.springframework:spring-web'

	provided 'javax.servlet:javax.servlet-api'

	runtimeOnly 'net.sourceforge.nekohtml:nekohtml'
	runtimeOnly 'org.apache.httpcomponents:httpclient'
}