Hi Baron,

I too am working on 5.x to 6.3.x and have been getting help from Unicon.

While I'm not sure if "compile" works, here's what I picked up from working
with them. Here are our dependencies:

implementation "org.apereo.cas:cas-server-webapp-init:${casServerVersion}"
implementation
"org.apereo.cas:cas-server-support-json-service-registry:${project.'cas.version'}"
implementation
"org.apereo.cas:cas-server-support-ldap:${project.'cas.version'}"
implementation
"org.apereo.cas:cas-server-support-duo:${project.'cas.version'}"
implementation
"org.apereo.cas:cas-server-support-saml-idp:${project.'cas.version'}"
implementation
"org.apereo.cas:cas-server-support-saml:${project.'cas.version'}"

You can see where this starts in the base 6.3 build.gradle here on line 84:
https://github.com/apereo/cas-overlay-template/blob/6.3/build.gradle

It looks like a lot of this is covered in the README.md at the root of the
project:
https://github.com/apereo/cas-overlay-template/tree/6.3

Check out the "Adding Modules" section, which suggests:
dependencies {
    implementation
"org.apereo.cas:cas-server-some-module:${project.casVersion}"
    ...
}

I'm not sure where the *${project.'cas.version'}* syntax (slightly
different from above) comes from, but it has been working for our build.

Good luck!
Mike



On Tue, Apr 13, 2021 at 7:29 PM Baron Fujimoto <[email protected]> wrote:

> I'm working on upgrading our old cas 5.x to a current 6.3 version. For our
> old cas, we used maven and pom.xml for the war overlay and dependencies.
> Apparently that's been deprecated in favor of gradle, but it looks like the
> documentation still uses XML. For example:
>
> <https://apereo.github.io/cas/6.3.x/installation/LDAP-Authentication.html>
>
> I think it's equivalent should now go in the dependencies block of
> build.gradle, but it's not clear how to specify the gradle version of this
> dependency there based on that documentation.
>
> Based on this blog post, <
> https://apereo.github.io/2019/11/03/cas62-gettingstarted-overlay/>, it
> looks like:
>
> compile "org.apereo.cas:cas-server-support-ldap:${casServerVersion}"
>
> Does this format generally hold true for translating such dependencies?
> I.e.:
>
> compile ${groupId}:${artifactId}:${casServerVersion}
>
> FWIW, I'm finding it challenging to use the CAS documentation as a
> starting point for these tasks, since many things don't seem to be included
> (e.g., without that blog post, I wouldn't have known about running "gradlew
> clean" to set gradle up, or even about gradlew itself, for that matter).
> Unless I missed it, I don't see any clear connection between these
> necessary steps.
> --
> Baron Fujimoto <[email protected]> :: UH Information Technology Services
> minutas cantorum, minutas balorum, minutas carboratum desendus pantorum
>
> --
> - 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAAjLUL0Nj-DGE_5Jn7mgfXbu1w83f9eqfW95ncd3TB17XdN1pQ%40mail.gmail.com
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAAjLUL0Nj-DGE_5Jn7mgfXbu1w83f9eqfW95ncd3TB17XdN1pQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
- 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAEdMQHXr%2BZQ41cpyWoyPoqH%3DwxHRU9Smu7aO%2BoVzR7pOyRryJQ%40mail.gmail.com.

Reply via email to