diff --git a/openid/spring-security-openid.gradle b/openid/spring-security-openid.gradle index dfa8de31cd..a24719a6f6 100644 --- a/openid/spring-security-openid.gradle +++ b/openid/spring-security-openid.gradle @@ -3,7 +3,9 @@ apply plugin: 'io.spring.convention.spring-module' dependencies { compile project(':spring-security-core') compile project(':spring-security-web') - compile 'com.google.inject:guice' + compile('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.