cavis/cavis-datavec/cavis-datavec-spark/cavis-datavec-spark-core/build.gradle

72 lines
2.9 KiB
Groovy
Raw Permalink Normal View History

/*
*
* ******************************************************************************
* *
* * 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 'signing'
}
apply from: "${project.rootProject.projectDir}/createTestBackends.gradle"
ext {
scalaVersion = rootProject.ext.scalaVersion
}
dependencies {
implementation "org.scala-lang:scala-library"
compileOnly ("org.apache.spark:spark-core_${scalaVersion}") {
exclude group: 'com.google.code.findbugs', module: 'jsr305'
}
testCompileOnly ("org.apache.spark:spark-core_${scalaVersion}") {
exclude group: 'com.google.code.findbugs', module: 'jsr305'
}
testRuntimeOnly ("org.apache.spark:spark-core_${scalaVersion}") {
exclude group: 'com.google.code.findbugs', module: 'jsr305'
}
compileOnly "org.apache.spark:spark-sql_${scalaVersion}"
testCompileOnly "org.apache.spark:spark-sql_${scalaVersion}"
testRuntimeOnly "org.apache.spark:spark-sql_${scalaVersion}"
implementation "commons-collections:commons-collections"
implementation 'commons-io:commons-io'
implementation "org.apache.commons:commons-math3"
implementation 'org.slf4j:slf4j-api'
testImplementation "com.sun.jna:jna:3.0.9"
testImplementation "com.tdunning:t-digest:3.2"
testImplementation "joda-time:joda-time:2.10.3"
testRuntimeOnly "net.brutex.ai:dl4j-test-resources:1.0.1-SNAPSHOT"
implementation "com.fasterxml.jackson.datatype:jackson-datatype-joda"
implementation "org.bytedeco:javacpp"
implementation projects.cavisDnn.cavisDnnCommon
implementation projects.cavisDnn.cavisDnnApi
implementation projects.cavisDatavec.cavisDatavecApi
implementation projects.cavisDatavec.cavisDatavecData.cavisDatavecDataHadoop
testImplementation projects.cavisNd4j.cavisNd4jCommonTests
testImplementation projects.cavisDatavec.cavisDatavecData.cavisDatavecDataImage
testImplementation projects.cavisDatavec.cavisDatavecData.cavisDatavecDataCodec
testImplementation projects.cavisDatavec.cavisDatavecLocal
testImplementation projects.cavisDatavec.cavisDatavecPython
}