Yan, You can put the version into gradle.properties (I put this at the bottom of my file):
lombokVersion=1.18.30 ... In build.gradle: compileOnly "org.projectlombok:lombok:${lombokVersion}" testCompileOnly("org.projectlombok:lombok:${lombokVersion}") If the library is included in cas, then you do not need to use implementation. Ray On Mon, 2024-02-05 at 08:22 -0800, Yan Zhou wrote: Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive information. HI there, with CAS 6.6.x overlay, I need to create my own authentication handler, which uses Apache Shiro's hash service, etc., it comes with CAS, but I have to explicitly list them in my project dependency so my code can compile. looks like the following, Note that I first find out CAS is using shiro-core 1.9.1 and then explicitly include it in build.gradle, is there a better way to manage this (such as I do Not have to explicitly include shiro dependency by specific version# ? this makes it difficult for upgrade.) implementation "org.apereo.cas:cas-server-support-jdbc" implementation "org.apereo.cas:cas-server-support-jdbc-authentication" implementation "org.apache.shiro:shiro-core:1.9.1" implementation "org.apereo.cas:cas-server-support-ldap" Thanks, Yan -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+unsubscr...@apereo.org. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/301bac7d2e27a0f5b965bc24104a96e5b14dac58.camel%40uvic.ca.