/* * * ****************************************************************************** * * * * 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 plugin: 'java' apply plugin: 'maven-publish' apply from: "${project.rootProject.projectDir}/createTestBackends.gradle" ext { buildTarget = rootProject.ext.buildTarget scalaVersion = rootProject.ext.scalaVersion } dependencies { implementation "com.fasterxml.jackson.core:jackson-databind" implementation "com.google.guava:guava" implementation projects.cavisDnn.cavisDnnCore implementation projects.cavisUi.cavisUiStandalone implementation projects.cavisDatavec.cavisDatavecApi implementation projects.cavisDatavec.cavisDatavecSpark.cavisDatavecSparkCore implementation projects.cavisDnn.cavisDnnCommon implementation projects.cavisDnn.cavisDnnApi implementation "org.slf4j:slf4j-api" implementation "org.apache.hadoop:hadoop-client" compileOnly "org.apache.spark:spark-core_${scalaVersion}" compileOnly "org.apache.spark:spark-sql_${scalaVersion}" compileOnly "org.scala-lang:scala-library" testImplementation "org.apache.spark:spark-core_${scalaVersion}" testImplementation "org.apache.spark:spark-sql_${scalaVersion}" testCompileOnly "org.scala-lang:scala-library" implementation projects.cavisDnn.cavisDnnSpark.cavisDnnSparkCore implementation projects.cavisDnn.cavisDnnSpark.cavisDnnSparkParameterserver implementation projects.cavisDnn.cavisDnnNnParent.cavisDnnNnCore implementation projects.cavisDnn.cavisDnnNn implementation projects.cavisUi.cavisUiCommon implementation projects.cavisUi.cavisUiVertx implementation projects.cavisUi.cavisUiModel implementation projects.cavisNd4j.cavisNd4jParameterServer.cavisNd4jParameterServerCore implementation projects.cavisNd4j.cavisNd4jParameterServer.cavisNd4jParameterServerNode implementation projects.cavisDnn.cavisDnnData.cavisDnnDataDatavecIterators implementation projects.cavisDatavec.cavisDatavecData.cavisDatavecDataImage } test { dependsOn jar }