blob: 0d9717e1f57a2145f9d3d6caaa21780235fe1c89 [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-api")
compile project(":gobblin-cluster")
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.awsCore
compile externalDependency.awsAsg
compile externalDependency.awsAppAsg
compile externalDependency.awsEc2
compile externalDependency.awsIam
compile externalDependency.awsS3
compile externalDependency.awsSts
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.hadoopClientCommon
compile externalDependency.hadoopCommon
compile externalDependency.hadoopYarnApi
compile externalDependency.hadoopYarnCommon
compile externalDependency.hadoopYarnClient
compile externalDependency.avroMapredH2
compile externalDependency.findBugsAnnotations
compile externalDependency.helix
testCompile project(path: ':gobblin-cluster', configuration: 'tests')
testCompile project(":gobblin-example")
testCompile externalDependency.testng
testCompile externalDependency.curatorFramework
testCompile externalDependency.curatorTest
testCompile externalDependency.mockito
testCompile externalDependency.powermock
testCompile externalDependency.slf4jToLog4j
}
task testJar(type: Jar, dependsOn: testClasses) {
baseName = "test-${project.archivesBaseName}"
from sourceSets.test.output
}
configurations {
tests
}
configurations {
compile {
transitive = false
}
testRuntime {
resolutionStrategy {
force 'com.google.inject:guice:3.0'
}
}
}
artifacts {
tests testJar
}
test {
workingDir rootProject.rootDir
maxParallelForks = 1
}
clean {
delete "../gobblin-test/locks"
delete "../gobblin-test/basicTest"
}
ext.classification="library"