/*
 * Copyright 2017 Crown Copyright
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

ext.moduleName = 'stroom.security.identity'

dependencies {
    implementation project(':stroom-cache:stroom-cache-api')
    implementation project(':stroom-config:stroom-config-common')
    implementation project(':stroom-core-shared')
    implementation project(':stroom-event-logging:stroom-event-logging-api')
    implementation project(':stroom-event-logging-rs:stroom-event-logging-rs-api')
    implementation project(':stroom-job:stroom-job-api')
    implementation project(':stroom-security:stroom-security-api')
    implementation project(':stroom-security:stroom-security-openid-api')
    implementation project(':stroom-task:stroom-task-api')
    implementation project(':stroom-util')
    implementation project(':stroom-util-shared')

    implementation libs.bcrypt
    implementation libs.caffeine
    implementation libs.dropwizard.client
    implementation libs.dropwizard.metrics.annotation
    implementation libs.dropwizard.metrics.healthchecks
    implementation libs.eventLogging
    implementation libs.guice
    implementation libs.jackson.annotations
    implementation libs.jackson.core
    implementation libs.jackson.databind
    implementation libs.jakarta.servlet.api
    implementation libs.jakarta.validation.api
    implementation libs.jose4j
    implementation libs.restygwt
    implementation libs.simple.java.mail
    implementation libs.simple.java.mail.batch.module
    implementation libs.slf4j.api
    implementation libs.swagger.annotations
    implementation libs.ws.rs.api

    runtimeOnly libs.mysql.connector.java

    testImplementation project(':stroom-security:stroom-security-identity')
    testImplementation project(':stroom-test-common')
    testImplementation libs.wiremock
    testImplementation libs.dropwizard.testing

    testImplementation libs.bundles.common.test.implementation
    testRuntimeOnly libs.bundles.common.test.runtime
}
