mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-02 03:39:03 +00:00
70 lines
3.3 KiB
Groovy
70 lines
3.3 KiB
Groovy
plugins {
|
|
id "com.github.hierynomus.license" version "0.12.0"
|
|
}
|
|
|
|
apply plugin: 'idea'
|
|
ext.licenseFile = file('.license_header.txt')
|
|
|
|
subprojects {
|
|
apply plugin: 'java'
|
|
apply plugin: 'com.github.hierynomus.license'
|
|
license {
|
|
header licenseFile
|
|
exclude "**/*.scala.html"
|
|
}
|
|
repositories {
|
|
flatDir {
|
|
dirs 'extralibs'
|
|
}
|
|
mavenCentral()
|
|
maven { // this is required for hive
|
|
url 'http://conjars.org/repo'
|
|
}
|
|
maven {
|
|
url 'https://repo.typesafe.com/typesafe/maven-releases/'
|
|
}
|
|
}
|
|
task excludegroup(type: Test) {
|
|
useTestNG() {
|
|
excludeGroups 'needConfig'
|
|
}
|
|
|
|
testLogging {
|
|
showStandardStreams = true
|
|
}
|
|
}
|
|
|
|
ext.externalDependency = [//"mysql" : "mysql:mysql-connector-java:5.1.36",
|
|
//"jython" : "org.python:jython-standalone:2.7.0",
|
|
"testng" : "org.testng:testng:6.9.6",
|
|
"hadoop_common" : "org.apache.hadoop:hadoop-common:2.7.1",
|
|
"hadoop_client" : "org.apache.hadoop:hadoop-mapreduce-client-core:2.7.1",
|
|
"pig" : "org.apache.pig:pig:0.11.1",
|
|
"avro" : "org.apache.avro:avro:1.7.7",
|
|
"avro_mapred" : "org.apache.avro:avro-mapred:1.7.7",
|
|
"joda" : "joda-time:joda-time:2.8.2",
|
|
"jsch" : "com.jcraft:jsch:0.1.53",
|
|
"hive" : "org.apache.hive:hive-exec:1.2.1",
|
|
"http_client" : "org.apache.httpcomponents:httpclient:4.5",
|
|
"http_core" : "org.apache.httpcomponents:httpcore:4.4.1",
|
|
"hadoop_auth" : "org.apache.hadoop:hadoop-auth:2.7.1",
|
|
"json_path" : "com.jayway.jsonpath:json-path:2.0.0",
|
|
"akka" : "com.typesafe.akka:akka-actor_2.10:2.2.0",
|
|
|
|
"jackson_databind" : "com.fasterxml.jackson.core:jackson-databind:2.6.1",
|
|
"jackson_core" : "com.fasterxml.jackson.core:jackson-core:2.6.1",
|
|
"jackson_annotations": "com.fasterxml.jackson.core:jackson-annotations:2.6.1",
|
|
|
|
"slf4j_api" : "org.slf4j:slf4j-api:1.6.6",
|
|
"slf4j_log4j" : "org.slf4j:slf4j-log4j12:1.7.12",
|
|
"jasypt" : "org.jasypt:jasypt:1.9.2",
|
|
|
|
"spring_context" : "org.springframework:spring-context:4.1.1.RELEASE",
|
|
"spring_jdbc" : "org.springframework:spring-jdbc:4.1.1.RELEASE",
|
|
"mockito" : "org.mockito:mockito-core:1.9.5",
|
|
"play" : "com.typesafe.play:play_2.10:2.2.4",
|
|
"play_ebean" : "com.typesafe.play:play-java-ebean_2.10:2.2.4",
|
|
"play_java_jdbc" : "com.typesafe.play:play-java-jdbc_2.10:2.2.4",
|
|
"play_cache" : "com.typesafe.play:play-cache_2.10:2.2.4"]
|
|
}
|