description = "Apereo CAS Automatic Certificate Management Environment (ACME) protocol Support"
ext {
    publishMetadata = true
    projectMetadata = [
            category: "Integrations",
            title: "ACME & Let's Encrypt",
            aliases: ["acme"]
    ]
}

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

    implementation libraries.acme
    implementation libraries.jose4j
    implementation libraries.bouncycastle

    implementation project(":core:cas-server-core-cookie-api")
    implementation project(":core:cas-server-core-web-api")
    implementation project(":core:cas-server-core-webflow")
    implementation project(":core:cas-server-core-multitenancy")
    implementation project(":core:cas-server-core-webflow-api")
    implementation project(":core:cas-server-core-authentication-api")
    implementation project(":core:cas-server-core-tickets-api")
    implementation project(":core:cas-server-core-services")
    implementation project(":core:cas-server-core-services-api")
    implementation project(":core:cas-server-core-configuration-api")
    implementation project(":core:cas-server-core-logout-api")
    implementation project(":core:cas-server-core-util-api")

    testImplementation project(":support:cas-server-support-person-directory")
    
    testImplementation project(":core:cas-server-core")
    testImplementation project(":core:cas-server-core-services-authentication")
    testImplementation project(":core:cas-server-core-authentication")
    testImplementation project(":core:cas-server-core-tickets")
    testImplementation project(":core:cas-server-core-services-registry")
    testImplementation project(":core:cas-server-core-monitor")
    testImplementation project(":core:cas-server-core-logout")
    testImplementation project(":core:cas-server-core-webflow-mfa")
    testImplementation project(":core:cas-server-core-authentication-mfa")
    testImplementation project(":core:cas-server-core-webflow-mfa-api")
    testImplementation project(":core:cas-server-core-configuration")
    testImplementation project(":core:cas-server-core-web")
    testImplementation project(":core:cas-server-core-cookie")
    testImplementation project(":core:cas-server-core-util")
    testImplementation project(":core:cas-server-core-scripting")

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