/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements. See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You 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.
 */

apply from: "$rootDir/buildscripts/java-core.gradle"
apply from: "$rootDir/buildscripts/publishing.gradle"
apply from: "$rootDir/buildscripts/java-junit5.gradle"
apply from: "$rootDir/buildscripts/java-integration-test.gradle"
apply from: "$rootDir/buildscripts/java-test-fixtures.gradle"

dependencies {
    api project(':ignite-metastorage-api')

    implementation project(':ignite-configuration-api')
    implementation project(':ignite-configuration-system')
    implementation project(':ignite-cluster-management')
    implementation project(':ignite-network-api')
    implementation project(':ignite-vault')
    implementation project(':ignite-raft-api')
    implementation project(':ignite-raft')
    implementation project(':ignite-replicator')
    implementation project(':ignite-api')
    implementation project(':ignite-core')
    implementation project(':ignite-rocksdb-common')
    implementation project(':ignite-failure-handler')
    implementation project(':ignite-metrics')
    implementation project(':ignite-system-disaster-recovery-api')
    implementation libs.jetbrains.annotations
    implementation libs.fastutil.core
    implementation libs.auto.service.annotations

    annotationProcessor project(':ignite-network-annotation-processor')

    testImplementation project(':ignite-network')
    testImplementation testFixtures(project(':ignite-core'))
    testImplementation testFixtures(project(':ignite-vault'))
    testImplementation testFixtures(project(':ignite-configuration'))
    testImplementation testFixtures(project(':ignite-replicator'))
    testImplementation testFixtures(project(':ignite-failure-handler'))
    testImplementation testFixtures(project(':ignite-metrics'))
    testImplementation testFixtures(project(':ignite-configuration-system'))

    integrationTestImplementation project(':ignite-cluster-management')
    integrationTestImplementation project(':ignite-network')
    integrationTestImplementation project(':ignite-replicator')
    integrationTestImplementation project(':ignite-rest')
    integrationTestImplementation project(':ignite-raft')
    integrationTestImplementation project(':ignite-raft-api')
    integrationTestImplementation project(':ignite-storage-api')
    integrationTestImplementation project(':ignite-storage-rocksdb')
    integrationTestImplementation project(':ignite-vault')
    integrationTestImplementation project(':ignite-security')
    integrationTestImplementation project(':ignite-metrics')
    integrationTestImplementation project(':ignite-runner')
    integrationTestImplementation project(':ignite-system-disaster-recovery')
    integrationTestImplementation project(':ignite-configuration-system')
    integrationTestImplementation project(':ignite-configuration-root')
    integrationTestImplementation project(':ignite-distribution-zones')
    integrationTestImplementation testFixtures(project(':ignite-core'))
    integrationTestImplementation testFixtures(project(':ignite-network'))
    integrationTestImplementation testFixtures(project(':ignite-raft'))
    integrationTestImplementation testFixtures(project(':ignite-configuration'))
    integrationTestImplementation testFixtures(project(':ignite-vault'))
    integrationTestImplementation testFixtures(project(':ignite-metastorage'))
    integrationTestImplementation testFixtures(project(':ignite-cluster-management'))
    integrationTestImplementation testFixtures(project(':ignite-failure-handler'))
    integrationTestImplementation testFixtures(project(':ignite-metrics:'))
    integrationTestImplementation testFixtures(project(':ignite-runner:'))

    testFixturesImplementation project(':ignite-cluster-management')
    testFixturesImplementation project(':ignite-core')
    testFixturesImplementation project(':ignite-configuration-system')
    testFixturesImplementation project(':ignite-raft-api')
    testFixturesImplementation project(':ignite-replicator')
    testFixturesImplementation project(':ignite-rocksdb-common')
    testFixturesImplementation project(':ignite-vault')
    testFixturesImplementation project(':ignite-failure-handler')
    testFixturesImplementation project(':ignite-system-disaster-recovery-api')
    testFixturesImplementation testFixtures(project(':ignite-core'))
    testFixturesImplementation testFixtures(project(':ignite-failure-handler'))
    testFixturesImplementation testFixtures(project(':ignite-metrics'))
}

description = 'ignite-metastorage'
