diff --git a/spring-core/spring-core.gradle b/spring-core/spring-core.gradle index 69f78fc73060..bfa3a423b524 100644 --- a/spring-core/spring-core.gradle +++ b/spring-core/spring-core.gradle @@ -76,7 +76,8 @@ jar { dependsOn cglibRepackJar from(zipTree(cglibRepackJar.archivePath)) { include "org/springframework/cglib/**" - exclude "org/springframework/cglib/beans/BeanMap*.class" + exclude "org/springframework/cglib/beans/BeanMap.class" + exclude "org/springframework/cglib/beans/BeanMap\$*.class" exclude "org/springframework/cglib/core/AbstractClassGenerator*.class" exclude "org/springframework/cglib/core/AsmApi*.class" exclude "org/springframework/cglib/core/KeyFactory.class"