blob: b96ee1f958cd21ca689d982df14b5e96b626e8c6 [file] [log] [blame]
/*
* 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 plugin: 'java'
dependencies {
compile project(":gobblin-admin")
compile project(":gobblin-api")
compile project(":gobblin-core")
compile project(":gobblin-metrics-libs:gobblin-metrics")
compile project(":gobblin-metastore")
compile project(":gobblin-runtime")
compile project(":gobblin-utility")
compile project(path: ':gobblin-rest-service:gobblin-rest-api', configuration: 'restClient')
compile project(":gobblin-rest-service:gobblin-rest-server")
compile externalDependency.avro
compile externalDependency.commonsConfiguration
compile externalDependency.quartz
compile externalDependency.guava
compile externalDependency.commonsLang
compile externalDependency.slf4j
compile externalDependency.log4j
compile externalDependency.commonsCli
compile externalDependency.gson
compile externalDependency.hiveCommon
compile externalDependency.metricsCore
compile externalDependency.metricsJvm
compile externalDependency.commonsIo
compile externalDependency.commonsEmail
compile externalDependency.pegasus.data
compile externalDependency.typesafeConfig
compile externalDependency.zkClient
compile externalDependency.hadoopClientCommon
compile externalDependency.hadoopCommon
compile externalDependency.avroMapredH2
compile externalDependency.findBugsAnnotations
compile externalDependency.helix
testCompile project(":gobblin-example")
testCompile externalDependency.testng
testCompile externalDependency.curatorFramework
testCompile externalDependency.curatorTest
}
task testJar(type: Jar, dependsOn: testClasses) {
baseName = "test-${project.archivesBaseName}"
from sourceSets.test.output
}
configurations {
tests
}
artifacts {
tests testJar
}
configurations {
compile {
transitive = false
}
testRuntime {
resolutionStrategy {
force 'com.google.inject:guice:3.0'
}
}
}
test {
workingDir rootProject.rootDir
maxParallelForks = 1
}
ext.classification="library"