description = "Apereo CAS GCP Firestore Ticket Registry"
ext {
    publishMetadata = true
    projectMetadata = [
            category: "Logging",
            title: "Google Cloud Logging",
            aliases: ["gcplogging"]
    ]
}
dependencies {
    api project(":api:cas-server-core-api-util")

    implementation libraries.googlecloudlogging
    implementation libraries.googlecloudtrace
    implementation libraries.springcloudconfigclient
    implementation libraries.springcloudbootstrap
    implementation libraries.log4j

    annotationProcessor libraries.log4j
    
    implementation project(":core:cas-server-core-tickets")
    implementation project(":core:cas-server-core-authentication-api")
    implementation project(":core:cas-server-core-services-api")
    implementation project(":core:cas-server-core-tickets-api")
    implementation project(":core:cas-server-core-configuration-api")
    implementation project(":core:cas-server-core-util-api")
    implementation project(":core:cas-server-core-web-api")
    implementation project(":core:cas-server-core-logging")
    implementation project(":core:cas-server-core-logging-api")

    testImplementation libraries.springboottomcat
    
    testImplementation project(":support:cas-server-support-person-directory")

    testImplementation project(":core:cas-server-core")
    testImplementation project(":core:cas-server-core-services")
    testImplementation project(":core:cas-server-core-util")
    testImplementation project(":core:cas-server-core-scripting")
    testImplementation project(":core:cas-server-core-cookie")
    testImplementation project(":core:cas-server-core-web")
    testImplementation project(":core:cas-server-core-logout-api")
    testImplementation project(":core:cas-server-core-logout")
    testImplementation project(":core:cas-server-core-monitor")
    testImplementation project(":core:cas-server-core-configuration")
    testImplementation project(":core:cas-server-core-authentication")
    testImplementation project(":core:cas-server-core-services-authentication")
    testImplementation project(":core:cas-server-core-notifications")
    testImplementation project(":core:cas-server-core-authentication-attributes")
    testImplementation project(path: ":core:cas-server-core-util-api", configuration: "tests")
}

compileJava {
    options.compilerArgs << "-Alog4j.graalvm.groupId=${project.group}"
    options.compilerArgs << "-Alog4j.graalvm.artifactId=${project.name}"
}

