/* * * ****************************************************************************** * * * * 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 * ***************************************************************************** * */ plugins { id 'java-library' id 'maven-publish' id 'com.github.johnrengelman.shadow' version '7.1.2' } 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.cavisDnnCommonTests 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 "it.unimi.dsi:fastutil-core:8.5.8" 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.cavisDnnDataDatasets implementation projects.cavisDnn.cavisDnnData.cavisDnnDataDatavecIterators implementation projects.cavisDnn.cavisDnnData.cavisDnnDataUtilityIterators implementation projects.cavisDatavec.cavisDatavecData.cavisDatavecDataImage implementation projects.cavisDnn.cavisDnnParallelwrapper implementation projects.cavisZoo.cavisZooModels testRuntimeOnly "net.brutex.ai:dl4j-test-resources:1.0.1-SNAPSHOT" } test { enabled true dependsOn shadowJar } shadowJar { enabled true; zip64 true //need this to support jars with more than 65535 entries archiveClassifier.set('all') from sourceSets.test.output }