description = "Apereo CAS Admin UI"
ext {
    publishMetadata = true
    projectMetadata = [
        category: "Administration",
        title: "Admin UI & Dashboard",
        aliases: ["palantir", "adminui", "management", "casmgmt"]
    ]
}

dependencies {
    api project(":api:cas-server-core-api-webflow")
    api project(":api:cas-server-core-api-protocol")

    implementation project(":core:cas-server-core-util-api")
    implementation project(":core:cas-server-core-webflow-api")
    implementation project(":core:cas-server-core-cookie-api")
    implementation project(":core:cas-server-core-webflow-mfa")
    implementation project(":core:cas-server-core-web-api")
    implementation project(":core:cas-server-core-authentication-api")
    implementation project(":core:cas-server-core-authentication-mfa")
    implementation project(":core:cas-server-core-logout-api")
    implementation project(":core:cas-server-core-audit-api")
    implementation project(":core:cas-server-core-configuration-api")
    implementation project(":core:cas-server-core-authentication-attributes")
    implementation project(":core:cas-server-core-tickets-api")
    implementation project(":core:cas-server-core-services-api")
    implementation project(":core:cas-server-core-services-registry")
    implementation project(":core:cas-server-core-services-authentication")
    implementation project(":core:cas-server-core-notifications-api")
    implementation project(":core:cas-server-core-authentication-mfa-api")
    implementation project(":core:cas-server-core-webflow-mfa-api")

    implementation project(":support:cas-server-support-reports")
    implementation project(":support:cas-server-support-metrics")

    compileOnly project(":support:cas-server-support-reports-core")

    implementation libraries.snakeyaml
    implementation libraries.jose4j
    implementation libraries.springsecurityweb
    implementation libraries.springsecurityconfig

    runtimeOnly libraries.webjars
    runtimeOnly libraries.webjarspalantir

    testImplementation libraries.springboottomcat

    testImplementation project(":support:cas-server-support-themes")
    testImplementation project(":support:cas-server-support-thymeleaf")
    testImplementation project(":support:cas-server-support-person-directory")
    testImplementation project(":support:cas-server-support-oauth-core-api")
    testImplementation project(":support:cas-server-support-oauth-services")
    testImplementation project(":support:cas-server-support-saml-idp-core")
    testImplementation project(":support:cas-server-support-oidc-services")
    testImplementation project(":support:cas-server-support-ws-idp-api")

    testImplementation project(":core:cas-server-core-services")
    testImplementation project(":core:cas-server-core-tickets")
    testImplementation project(":core:cas-server-core-util")
    testImplementation project(":core:cas-server-core-scripting")
    testImplementation project(":core:cas-server-core-web")
    testImplementation project(":core:cas-server-core-webflow")
    testImplementation project(":core:cas-server-core")
    testImplementation project(":core:cas-server-core-logout")
    testImplementation project(":core:cas-server-core-cookie")
    testImplementation project(":core:cas-server-core-audit")
    testImplementation project(":core:cas-server-core-authentication")
    testImplementation project(":core:cas-server-core-configuration")
    testImplementation project(":core:cas-server-core-notifications")

    
    testImplementation project(path: ":core:cas-server-core-tickets", configuration: "tests")
    testImplementation project(path: ":core:cas-server-core", configuration: "tests")
    testImplementation project(path: ":core:cas-server-core-util-api", configuration: "tests")
    testImplementation project(path: ":core:cas-server-core-authentication-api", configuration: "tests")
    testImplementation project(path: ":core:cas-server-core-services", configuration: "tests")
    testImplementation project(path: ":core:cas-server-core-authentication", configuration: "tests")
    testImplementation project(path: ":core:cas-server-core-webflow", configuration: "tests")
}
