/*
 *
 *    ******************************************************************************
 *    *
 *    * This program and the accompanying materials are made available under the
 *    * terms of the Apache License, Version 2.0 which is available at
 *    * https://www.apache.org/licenses/LICENSE-2.0.
 *    *
 *    *  See the NOTICE file distributed with this work for additional
 *    *  information regarding copyright ownership.
 *    * 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.
 *    *
 *    * SPDX-License-Identifier: Apache-2.0
 *    *****************************************************************************
 *
 */
apply from: "${project.rootProject.projectDir}/createTestBackends.gradle"

ext {
    buildTarget = rootProject.ext.buildTarget
}

dependencies {
    implementation 'org.slf4j:slf4j-api'
    implementation projects.cavisDnn.cavisDnnApi
    implementation "com.google.code.gson:gson:2.8.6"
    implementation projects.cavisDnn.cavisDnnNn
    implementation "com.fasterxml.jackson.core:jackson-core"
    implementation "com.fasterxml.jackson.core:jackson-annotations"
    implementation "com.fasterxml.jackson.core:jackson-databind"
    implementation "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml"
    implementation group: "org.bytedeco", name: "javacpp"
    implementation group: "org.bytedeco", name: "javacpp", classifier: buildTarget
    implementation group: "org.bytedeco", name: "hdf5"
    implementation group: "org.bytedeco", name: "hdf5", classifier: buildTarget
    implementation projects.cavisDnn.cavisDnnCommon

    implementation "org.apache.commons:commons-lang3"
    implementation "commons-io:commons-io"
    implementation "org.apache.commons:commons-math3"
    implementation "org.apache.commons:commons-collections4:4.1"
    implementation "com.google.protobuf:protobuf-java"
    implementation "com.google.protobuf:protobuf-java-util"
    implementation "com.github.oshi:oshi-core:3.4.2"
    implementation "com.google.guava:guava"

    testImplementation projects.cavisDnn.cavisDnnCommonTests
    testImplementation 'ch.qos.logback:logback-classic'

    testImplementation projects.cavisDnn.cavisDnnData.cavisDnnDataDatavecIterators
    testImplementation projects.cavisNd4j.cavisNd4jTensorflow
    testImplementation projects.cavisDatavec.cavisDatavecApi
    testImplementation projects.cavisDnn.cavisDnnPython4j.cavisPython4jNumpy
    testRuntimeOnly "net.brutex.ai:dl4j-test-resources:1.0.1-SNAPSHOT"
}