Skip to content
代码片段 群组 项目
提交 1d604d90 编辑于 作者: Luke Cwik's avatar Luke Cwik
浏览文件

Initial gradle build definitions for all java based modules which is able to assemble successfully.

上级 33d32887
No related branches found
No related tags found
无相关合并请求
显示
903 个添加0 个删除
def google_cloud_bigdataoss_version = "1.4.5"
def bigtable_version = "1.0.0-pre3"
def google_clients_version = "1.22.0"
def google_auth_version = "0.7.1"
def grpc_version = "1.2.0"
def protobuf_version = "3.2.0"
def guava_version = "20.0"
def netty_version = "4.1.8.Final"
def grpc_google_common_protos = "0.1.9"
def hamcrest_version = "1.3"
def hadoop_version = "2.7.3"
def jackson_version = "2.8.9"
def spark_version = "1.6.3"
def pubsub_grpc_version = "0.1.18"
ext.library = [
java: [
activemq_amqp: "org.apache.activemq:activemq-amqp:5.13.1",
activemq_broker: "org.apache.activemq:activemq-broker:5.13.1",
activemq_client: "org.apache.activemq:activemq-client:5.13.1",
activemq_jaas: "org.apache.activemq:activemq-jaas:5.13.1",
activemq_junit: "org.apache.activemq.tooling:activemq-junit:5.13.1",
activemq_kahadb_store: "org.apache.activemq:activemq-kahadb-store:5.13.1",
activemq_mqtt: "org.apache.activemq:activemq-mqtt:5.13.1",
apex_common: "org.apache.apex:apex-common:3.6.0",
apex_engine: "org.apache.apex:apex-engine:3.4.0",
args4j: "args4j:args4j:2.33",
avro: "org.apache.avro:avro:1.8.2",
bigdataoss_gcsio: "com.google.cloud.bigdataoss:gcsio:$google_cloud_bigdataoss_version",
bigdataoss_util: "com.google.cloud.bigdataoss:util:$google_cloud_bigdataoss_version",
bigtable_client_core: "com.google.cloud.bigtable:bigtable-client-core:$bigtable_version",
bigtable_protos: "com.google.cloud.bigtable:bigtable-protos:$bigtable_version",
byte_buddy: "net.bytebuddy:byte-buddy:1.6.8",
commons_compress: "org.apache.commons:commons-compress:1.14",
commons_csv: "org.apache.commons:commons-csv:1.4",
commons_io_1x: "commons-io:commons-io:1.3.2",
commons_io_2x: "commons-io:commons-io:2.5",
commons_lang3: "org.apache.commons:commons-lang3:3.6",
commons_text: "org.apache.commons:commons-text:1.1",
datastore_v1_proto_client: "com.google.cloud.datastore:datastore-v1-proto-client:1.4.0",
datastore_v1_protos: "com.google.cloud.datastore:datastore-v1-protos:1.3.0",
error_prone_annotations: "com.google.errorprone:error_prone_annotations:2.0.15",
findbugs_jsr305: "com.google.code.findbugs:jsr305:3.0.1",
gax_grpc: "com.google.api:gax-grpc:0.20.0",
google_api_client: "com.google.api-client:google-api-client:$google_clients_version",
google_api_client_jackson2: "com.google.api-client:google-api-client-jackson2:$google_clients_version",
google_api_client_java6: "com.google.api-client:google-api-client-java6:$google_clients_version",
google_api_common: "com.google.api:api-common:1.0.0-rc2",
google_api_services_bigquery: "com.google.apis:google-api-services-bigquery:v2-rev355-$google_clients_version",
google_api_services_clouddebugger: "com.google.apis:google-api-services-clouddebugger:v2-rev8-$google_clients_version",
google_api_services_cloudresourcemanager: "com.google.apis:google-api-services-cloudresourcemanager:v1-rev6-$google_clients_version",
google_api_services_dataflow: "com.google.apis:google-api-services-dataflow:v1b3-rev214-$google_clients_version",
google_api_services_pubsub: "com.google.apis:google-api-services-pubsub:v1-rev10-$google_clients_version",
google_api_services_storage: "com.google.apis:google-api-services-storage:v1-rev71-$google_clients_version",
google_auth_library_credentials: "com.google.auth:google-auth-library-credentials:$google_auth_version",
google_auth_library_oauth2_http: "com.google.auth:google-auth-library-oauth2-http:$google_auth_version",
google_cloud_core: "com.google.cloud:google-cloud-core:1.0.2",
google_cloud_core_grpc: "com.google.cloud:google-cloud-core-grpc:$grpc_version",
google_cloud_dataflow_java_proto_library_all: "com.google.cloud.dataflow:google-cloud-dataflow-java-proto-library-all:0.5.160304",
google_cloud_spanner: "com.google.cloud:google-cloud-spanner:0.20.0-beta",
google_http_client: "com.google.http-client:google-http-client:$google_clients_version",
google_http_client_jackson: "com.google.http-client:google-http-client-jackson:$google_clients_version",
google_http_client_jackson2: "com.google.http-client:google-http-client-jackson2:$google_clients_version",
google_http_client_protobuf: "com.google.http-client:google-http-client-protobuf:$google_clients_version",
google_oauth_client: "com.google.oauth-client:google-oauth-client:$google_clients_version",
google_oauth_client_java6: "com.google.oauth-client:google-oauth-client-java6:$google_clients_version",
grpc_all: "io.grpc:grpc-all:$grpc_version",
grpc_auth: "io.grpc:grpc-auth:$grpc_version",
grpc_core: "io.grpc:grpc-core:$grpc_version",
grpc_google_cloud_pubsub_v1: "com.google.api.grpc:grpc-google-cloud-pubsub-v1:$pubsub_grpc_version",
grpc_protobuf: "io.grpc:grpc-protobuf:$grpc_version",
grpc_protobuf_lite: "io.grpc:grpc-protobuf-lite:$grpc_version",
grpc_netty: "io.grpc:grpc-netty:$grpc_version",
grpc_stub: "io.grpc:grpc-stub:$grpc_version",
guava: "com.google.guava:guava:$guava_version",
guava_testlib: "com.google.guava:guava-testlib:$guava_version",
hadoop_client: "org.apache.hadoop:hadoop-client:$hadoop_version",
hadoop_common: "org.apache.hadoop:hadoop-common:$hadoop_version",
hadoop_mapreduce_client_core: "org.apache.hadoop:hadoop-mapreduce-client-core:$hadoop_version",
hadoop_minicluster: "org.apache.hadoop:hadoop-minicluster:$hadoop_version",
hadoop_hdfs: "org.apache.hadoop:hadoop-hdfs:$hadoop_version",
hadoop_hdfs_tests: "org.apache.hadoop:hadoop-hdfs:$hadoop_version:tests",
hamcrest_all: "org.hamcrest:hamcrest-all:$hamcrest_version",
hamcrest_core: "org.hamcrest:hamcrest-core:$hamcrest_version",
jackson_annotations: "com.fasterxml.jackson.core:jackson-annotations:$jackson_version",
jackson_core: "com.fasterxml.jackson.core:jackson-core:$jackson_version",
jackson_databind: "com.fasterxml.jackson.core:jackson-databind:$jackson_version",
jackson_dataformat_yaml: "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:$jackson_version",
jackson_module_scala: "com.fasterxml.jackson.module:jackson-module-scala_2.10:$jackson_version",
joda_time: "joda-time:joda-time:2.4",
junit: "junit:junit:4.12",
kafka_clients: "org.apache.kafka:kafka-clients:0.10.1.0",
malhar_library: "org.apache.apex:malhar-library:3.4.0",
mockito_all: "org.mockito:mockito-all:1.9.5",
netty_handler: "io.netty:netty-handler:$netty_version",
netty_tcnative_boringssl_static: "io.netty:netty-tcnative-boringssl-static:1.1.33.Fork26",
netty_transport_native_epoll: "io.netty:netty-transport-native-epoll:$netty_version",
protobuf_java: "com.google.protobuf:protobuf-java:$protobuf_version",
protobuf_java_util: "com.google.protobuf:protobuf-java-util:$protobuf_version",
proto_google_cloud_pubsub_v1: "com.google.api.grpc:proto-google-cloud-pubsub-v1:$pubsub_grpc_version",
proto_google_cloud_spanner_admin_database_v1: "com.google.api.grpc:proto-google-cloud-spanner-admin-database-v1:$grpc_google_common_protos",
proto_google_common_protos: "com.google.api.grpc:proto-google-common-protos:$grpc_google_common_protos",
slf4j_api: "org.slf4j:slf4j-api:1.7.25",
slf4j_jdk14: "org.slf4j:slf4j-jdk14:1.7.25",
slf4j_log4j12: "org.slf4j:slf4j-log4j12:1.7.25",
snappy_java: "org.xerial.snappy:snappy-java:1.1.4",
spark_core: "org.apache.spark:spark-core_2.10:$spark_version",
spark_network_common: "org.apache.spark:spark-network-common_2.10:$spark_version",
spark_streaming: "org.apache.spark:spark-streaming_2.10:$spark_version",
stax2_api: "org.codehaus.woodstox:stax2-api:3.1.4",
woodstox_core_asl: "org.codehaus.woodstox:woodstox-core-asl:4.4.1",
],
]
gradle.taskGraph.whenReady { taskGraph ->
version = "2.3.0-snapshot"
}
allprojects {
apply plugin: "maven"
group = "org.apache.beam"
version = "2.3.0-SNAPSHOT"
}
buildscript {
repositories {
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "net.ltgt.gradle:gradle-apt-plugin:0.12"
classpath "com.google.protobuf:protobuf-gradle-plugin:0.8.1"
}
}
subprojects {
apply plugin: "java"
sourceCompatibility = 1.7
targetCompatibility = 1.7
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
repositories {
mavenLocal()
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/staging/" }
maven { url "https://repository.apache.org/snapshots" }
maven { url "https://repository.apache.org/content/repositories/releases" }
}
apply plugin: "net.ltgt.apt"
def auto_value = "com.google.auto.value:auto-value:1.4.1"
def auto_service = "com.google.auto.service:auto-service:1.0-rc2"
dependencies {
compileOnly auto_value
apt auto_value
testCompileOnly auto_value
testApt auto_value
compileOnly auto_service
apt auto_service
testCompileOnly auto_service
testApt auto_service
}
apply plugin: "com.google.protobuf"
protobuf {
protoc {
// The artifact spec for the Protobuf Compiler
artifact = "com.google.protobuf:protoc:3.2.0"
}
// Configure the codegen plugins
plugins {
// An artifact spec for a protoc plugin, with "grpc" as
// the identifier, which can be referred to in the "plugins"
// container of the "generateProtoTasks" closure.
grpc {
artifact = "io.grpc:protoc-gen-grpc-java:1.2.0"
}
}
generateProtoTasks {
ofSourceSet("main")*.plugins {
// Apply the "grpc" plugin whose spec is defined above, without
// options. Note the braces cannot be omitted, otherwise the
// plugin will not be added. This is because of the implicit way
// NamedDomainObjectContainer binds the methods.
grpc { }
}
}
}
configurations.all {
}
}
description = "Apache Beam :: Examples :: Java"
dependencies {
compile project(":beam-sdks-parent:beam-sdks-java-parent:beam-sdks-java-core")
compile project(":beam-sdks-parent:beam-sdks-java-parent:beam-sdks-java-extensions-parent:beam-sdks-java-extensions-google-cloud-platform-core")
compile project(":beam-sdks-parent:beam-sdks-java-parent:beam-sdks-java-io-parent:beam-sdks-java-io-google-cloud-platform")
compile library.java.google_api_client
compile library.java.google_api_services_bigquery
compile library.java.findbugs_jsr305
compile library.java.google_http_client
compile library.java.bigdataoss_util
compile library.java.google_auth_library_oauth2_http
compile library.java.google_auth_library_credentials
compile library.java.avro
compile library.java.google_api_services_pubsub
compile library.java.guava
compile library.java.datastore_v1_proto_client
compile library.java.datastore_v1_protos
compile library.java.joda_time
compile library.java.slf4j_api
runtime project(":beam-runners-parent:beam-runners-direct-java")
runtime library.java.slf4j_jdk14
testCompile project(":beam-sdks-parent:beam-sdks-java-parent:beam-sdks-java-io-parent:beam-sdks-java-io-google-cloud-platform").sourceSets.test.output
testCompile library.java.hamcrest_all
testCompile library.java.junit
testCompile library.java.mockito_all
}
task packageTests(type: Jar) {
from sourceSets.test.output
classifier = "tests"
}
artifacts.archives packageTests
description = "Apache Beam :: Examples :: Java 8"
sourceCompatibility = 1.8
targetCompatibility = 1.8
dependencies {
compile project(":beam-sdks-parent:beam-sdks-java-parent:beam-sdks-java-core")
compile project(":beam-sdks-parent:beam-sdks-java-parent:beam-sdks-java-extensions-parent:beam-sdks-java-extensions-google-cloud-platform-core")
compile project(":beam-sdks-parent:beam-sdks-java-parent:beam-sdks-java-io-parent:beam-sdks-java-io-google-cloud-platform")
compile project(":beam-examples-parent:beam-examples-java")
compile library.java.guava
compile library.java.slf4j_api
compile library.java.avro
compile library.java.joda_time
compile library.java.google_api_services_bigquery
compile library.java.google_http_client
compile library.java.google_oauth_client
compile library.java.google_api_services_pubsub
compile library.java.google_api_client
runtime project(":beam-runners-parent:beam-runners-direct-java")
runtime library.java.slf4j_jdk14
testCompile library.java.hamcrest_all
testCompile library.java.mockito_all
testCompile library.java.junit
}
task packageTests(type: Jar) {
from sourceSets.test.output
classifier = "tests"
}
artifacts.archives packageTests
文件已添加
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.2.1-bin.zip
#!/usr/bin/env sh
##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################
# Attempt to set APP_HOME
# Resolve links: $0 may be a link
PRG="$0"
# Need this for relative symlinks.
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`"/$link"
fi
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >/dev/null
APP_HOME="`pwd -P`"
cd "$SAVED" >/dev/null
APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS=""
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"
warn () {
echo "$*"
}
die () {
echo
echo "$*"
echo
exit 1
}
# OS specific support (must be 'true' or 'false').
cygwin=false
msys=false
darwin=false
nonstop=false
case "`uname`" in
CYGWIN* )
cygwin=true
;;
Darwin* )
darwin=true
;;
MINGW* )
msys=true
;;
NONSTOP* )
nonstop=true
;;
esac
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi
if [ ! -x "$JAVACMD" ] ; then
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
else
JAVACMD="java"
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
# Increase the maximum file descriptors if we can.
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
MAX_FD_LIMIT=`ulimit -H -n`
if [ $? -eq 0 ] ; then
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
MAX_FD="$MAX_FD_LIMIT"
fi
ulimit -n $MAX_FD
if [ $? -ne 0 ] ; then
warn "Could not set maximum file descriptor limit: $MAX_FD"
fi
else
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
fi
fi
# For Darwin, add options to specify how the application appears in the dock
if $darwin; then
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
fi
# For Cygwin, switch paths to Windows format before running java
if $cygwin ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
JAVACMD=`cygpath --unix "$JAVACMD"`
# We build the pattern for arguments to be converted via cygpath
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
SEP=""
for dir in $ROOTDIRSRAW ; do
ROOTDIRS="$ROOTDIRS$SEP$dir"
SEP="|"
done
OURCYGPATTERN="(^($ROOTDIRS))"
# Add a user-defined pattern to the cygpath arguments
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
fi
# Now convert the arguments - kludge to limit ourselves to /bin/sh
i=0
for arg in "$@" ; do
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
else
eval `echo args$i`="\"$arg\""
fi
i=$((i+1))
done
case $i in
(0) set -- ;;
(1) set -- "$args0" ;;
(2) set -- "$args0" "$args1" ;;
(3) set -- "$args0" "$args1" "$args2" ;;
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
esac
fi
# Escape application args
save () {
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
echo " "
}
APP_ARGS=$(save "$@")
# Collect all arguments for the java command, following the shell quoting and substitution rules
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
cd "$(dirname "$0")"
fi
exec "$JAVACMD" "$@"
@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################
@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS=
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto init
echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto init
echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:init
@rem Get command-line arguments, handling Windows variants
if not "%OS%" == "Windows_NT" goto win9xME_args
:win9xME_args
@rem Slurp the command line arguments.
set CMD_LINE_ARGS=
set _SKIP=2
:win9xME_args_slurp
if "x%~1" == "x" goto execute
set CMD_LINE_ARGS=%*
:execute
@rem Setup the command line
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
:end
@rem End local scope for the variables with windows NT shell
if "%ERRORLEVEL%"=="0" goto mainEnd
:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1
:mainEnd
if "%OS%"=="Windows_NT" endlocal
:omega
description = "Apache Beam :: Model :: Fn Execution"
dependencies {
compile project(":beam-model-parent:beam-model-pipeline")
compile library.java.protobuf_java
compile library.java.guava
compile library.java.grpc_core
compile library.java.grpc_protobuf
compile library.java.grpc_stub
}
task packageTests(type: Jar) {
from sourceSets.test.output
classifier = "tests"
}
artifacts.archives packageTests
description = "Apache Beam :: Model :: Job Management"
dependencies {
compile project(":beam-model-parent:beam-model-pipeline")
compile library.java.protobuf_java
compile library.java.guava
compile library.java.grpc_core
compile library.java.grpc_protobuf
compile library.java.grpc_stub
}
task packageTests(type: Jar) {
from sourceSets.test.output
classifier = "tests"
}
artifacts.archives packageTests
description = "Apache Beam :: Model :: Pipeline"
dependencies {
compile library.java.protobuf_java
}
task packageTests(type: Jar) {
from sourceSets.test.output
classifier = "tests"
}
artifacts.archives packageTests
description = "Apache Beam :: Runners :: Apex"
dependencies {
compile project(":beam-model-parent:beam-model-pipeline")
compile project(":beam-sdks-parent:beam-sdks-java-parent:beam-sdks-java-core")
compile project(":beam-runners-parent:beam-runners-core-construction-java")
compile project(":beam-runners-parent:beam-runners-core-java")
compile library.java.apex_common
compile library.java.malhar_library
compile library.java.apex_engine
compile library.java.commons_lang3
compile library.java.findbugs_jsr305
runtime library.java.apex_engine
testCompile project(":beam-sdks-parent:beam-sdks-java-parent:beam-sdks-java-core").sourceSets.test.output
testCompile project(":beam-model-parent:beam-model-fn-execution").sourceSets.test.output
testCompile project(":beam-runners-parent:beam-runners-core-java").sourceSets.test.output
testCompile library.java.hamcrest_all
testCompile library.java.junit
testCompile library.java.mockito_all
testCompile library.java.jackson_dataformat_yaml
}
task packageTests(type: Jar) {
from sourceSets.test.output
classifier = "tests"
}
artifacts.archives packageTests
description = "Apache Beam :: Runners :: Core Construction Java"
dependencies {
compile project(":beam-model-parent:beam-model-pipeline")
compile project(":beam-model-parent:beam-model-job-management")
compile project(":beam-sdks-parent:beam-sdks-java-parent:beam-sdks-java-core")
compile library.java.jackson_annotations
compile library.java.jackson_databind
compile library.java.jackson_core
compile library.java.protobuf_java
compile library.java.protobuf_java_util
compile library.java.findbugs_jsr305
compile library.java.joda_time
compile library.java.guava
compile library.java.slf4j_api
compile library.java.grpc_core
compile library.java.grpc_stub
testCompile library.java.hamcrest_all
testCompile library.java.junit
testCompile library.java.mockito_all
}
task packageTests(type: Jar) {
from sourceSets.test.output
classifier = "tests"
}
artifacts.archives packageTests
description = "Apache Beam :: Runners :: Core Java"
dependencies {
compile project(":beam-model-parent:beam-model-pipeline")
compile project(":beam-sdks-parent:beam-sdks-java-parent:beam-sdks-java-core")
compile project(":beam-model-parent:beam-model-fn-execution")
compile project(":beam-runners-parent:beam-runners-core-construction-java")
compile library.java.findbugs_jsr305
compile library.java.guava
compile library.java.grpc_core
compile library.java.grpc_stub
compile library.java.joda_time
compile library.java.slf4j_api
testCompile project(":beam-sdks-parent:beam-sdks-java-parent:beam-sdks-java-core").sourceSets.test.output
testCompile library.java.hamcrest_all
testCompile library.java.mockito_all
testCompile library.java.junit
testCompile library.java.slf4j_jdk14
testCompile library.java.jackson_dataformat_yaml
}
task packageTests(type: Jar) {
from sourceSets.test.output
classifier = "tests"
}
artifacts.archives packageTests
description = "Apache Beam :: Runners :: Direct Java"
dependencies {
compile project(":beam-model-parent:beam-model-pipeline")
compile project(":beam-sdks-parent:beam-sdks-java-parent:beam-sdks-java-core")
compile project(":beam-runners-parent:beam-runners-core-construction-java")
compile project(":beam-runners-parent:beam-runners-core-java")
compile library.java.guava
compile library.java.joda_time
compile library.java.findbugs_jsr305
compile library.java.slf4j_api
compileOnly library.java.hamcrest_all
compileOnly library.java.junit
testCompile project(":beam-sdks-parent:beam-sdks-java-parent:beam-sdks-java-core").sourceSets.test.output
testCompile project(":beam-runners-parent:beam-runners-core-java").sourceSets.test.output
testCompile project(":beam-model-parent:beam-model-fn-execution").sourceSets.test.output
testCompile library.java.guava_testlib
testCompile library.java.slf4j_jdk14
testCompile library.java.mockito_all
testCompile library.java.stax2_api
testCompile library.java.woodstox_core_asl
testCompile library.java.google_cloud_dataflow_java_proto_library_all
testCompile library.java.jackson_dataformat_yaml
}
task packageTests(type: Jar) {
from sourceSets.test.output
classifier = "tests"
}
artifacts.archives packageTests
description = "Apache Beam :: Runners :: Flink"
def flink_version = "1.3.0"
dependencies {
compile project(":beam-sdks-parent:beam-sdks-java-parent:beam-sdks-java-core")
compile project(":beam-runners-parent:beam-runners-core-java")
compile project(":beam-runners-parent:beam-runners-core-construction-java")
compile library.java.jackson_annotations
compile library.java.guava
compile library.java.findbugs_jsr305
compile library.java.slf4j_api
compile library.java.joda_time
compile library.java.commons_compress
compile "org.apache.flink:flink-clients_2.10:$flink_version"
compile "org.apache.flink:flink-core:$flink_version"
compile "org.apache.flink:flink-metrics-core:$flink_version"
compile "org.apache.flink:flink-java:$flink_version"
compile "org.apache.flink:flink-runtime_2.10:$flink_version"
compile "org.apache.flink:flink-streaming-java_2.10:$flink_version"
testCompile project(":beam-sdks-parent:beam-sdks-java-parent:beam-sdks-java-core").sourceSets.test.output
testCompile project(":beam-model-parent:beam-model-fn-execution").sourceSets.test.output
testCompile project(":beam-runners-parent:beam-runners-core-java").sourceSets.test.output
testCompile library.java.commons_lang3
testCompile library.java.hamcrest_all
testCompile library.java.junit
testCompile library.java.mockito_all
testCompile library.java.google_api_services_bigquery
testCompile library.java.jackson_dataformat_yaml
testCompile "org.apache.flink:flink-core:$flink_version:tests"
testCompile "org.apache.flink:flink-runtime_2.10:$flink_version:tests"
testCompile "org.apache.flink:flink-streaming-java_2.10:$flink_version:tests"
testCompile "org.apache.flink:flink-test-utils_2.10:$flink_version"
}
task packageTests(type: Jar) {
from sourceSets.test.output
classifier = "tests"
}
artifacts.archives packageTests
description = "Apache Beam :: Runners :: Gearpump"
sourceCompatibility = 1.8
targetCompatibility = 1.8
def gearpump_version = "0.8.4"
dependencies {
compile project(":beam-sdks-parent:beam-sdks-java-parent:beam-sdks-java-core")
compile project(":beam-runners-parent:beam-runners-core-java")
compile project(":beam-runners-parent:beam-runners-core-construction-java")
compile "org.apache.gearpump:gearpump-core_2.11:$gearpump_version"
compile "org.apache.gearpump:gearpump-streaming_2.11:$gearpump_version"
compile library.java.joda_time
compile library.java.jackson_annotations
compile library.java.guava
compile library.java.findbugs_jsr305
compileOnly "com.typesafe:config:1.3.0"
compileOnly "org.scala-lang:scala-library:2.11.8"
testCompile project(":beam-sdks-parent:beam-sdks-java-parent:beam-sdks-java-core")
testCompile library.java.junit
testCompile library.java.hamcrest_all
testCompile library.java.jackson_databind
testCompile library.java.jackson_dataformat_yaml
testCompile library.java.mockito_all
}
task packageTests(type: Jar) {
from sourceSets.test.output
classifier = "tests"
}
artifacts.archives packageTests
description = "Apache Beam :: Runners :: Google Cloud Dataflow"
dependencies {
compile project(":beam-model-parent:beam-model-pipeline")
compile project(":beam-sdks-parent:beam-sdks-java-parent:beam-sdks-java-core")
compile project(":beam-sdks-parent:beam-sdks-java-parent:beam-sdks-java-extensions-parent:beam-sdks-java-extensions-google-cloud-platform-core")
compile project(":beam-sdks-parent:beam-sdks-java-parent:beam-sdks-java-io-parent:beam-sdks-java-io-google-cloud-platform")
compile project(":beam-runners-parent:beam-runners-core-construction-java")
compile library.java.google_api_client
compile library.java.google_http_client
compile library.java.google_http_client_jackson2
compile library.java.google_api_services_dataflow
compile library.java.google_api_services_clouddebugger
compile library.java.google_api_services_storage
compile library.java.google_auth_library_credentials
compile library.java.google_auth_library_oauth2_http
compile library.java.bigdataoss_util
compile library.java.guava
compile library.java.avro
compile library.java.joda_time
compile library.java.findbugs_jsr305
compile library.java.jackson_core
compile library.java.jackson_annotations
compile library.java.jackson_databind
compile library.java.slf4j_api
compileOnly library.java.hamcrest_all
compileOnly library.java.junit
testCompile project(":beam-sdks-parent:beam-sdks-java-parent:beam-sdks-java-io-parent:beam-sdks-java-io-google-cloud-platform").sourceSets.test.output
testCompile project(":beam-sdks-parent:beam-sdks-java-parent:beam-sdks-java-core").sourceSets.test.output
testCompile project(":beam-sdks-parent:beam-sdks-java-parent:beam-sdks-java-extensions-parent:beam-sdks-java-extensions-google-cloud-platform-core").sourceSets.test.output
testCompile project(":beam-model-parent:beam-model-fn-execution").sourceSets.test.output
testCompile library.java.guava_testlib
testCompile library.java.slf4j_jdk14
testCompile library.java.mockito_all
testCompile library.java.google_cloud_dataflow_java_proto_library_all
testCompile library.java.datastore_v1_protos
testCompile library.java.jackson_dataformat_yaml
}
task packageTests(type: Jar) {
from sourceSets.test.output
classifier = "tests"
}
artifacts.archives packageTests
description = "Apache Beam :: Runners :: Java Local Artifact Service"
dependencies {
compile project(":beam-model-parent:beam-model-job-management")
compile library.java.findbugs_jsr305
compile library.java.guava
compile library.java.grpc_core
compile library.java.grpc_stub
compile library.java.protobuf_java
compile library.java.slf4j_api
testCompile library.java.hamcrest_all
testCompile library.java.mockito_all
testCompile library.java.junit
testCompile library.java.slf4j_jdk14
}
task packageTests(type: Jar) {
from sourceSets.test.output
classifier = "tests"
}
artifacts.archives packageTests
description = "Apache Beam :: Runners :: Reference :: Job Orchestrator"
dependencies {
compile project(":beam-model-parent:beam-model-job-management")
compile library.java.grpc_core
compile library.java.grpc_stub
compile library.java.slf4j_api
compile library.java.args4j
runtime library.java.grpc_netty
testCompile library.java.junit
}
task packageTests(type: Jar) {
from sourceSets.test.output
classifier = "tests"
}
artifacts.archives packageTests
description = "Apache Beam :: Runners :: Spark"
dependencies {
compile project(":beam-model-parent:beam-model-pipeline")
compile project(":beam-sdks-parent:beam-sdks-java-parent:beam-sdks-java-core")
compile project(":beam-runners-parent:beam-runners-core-construction-java")
compile project(":beam-runners-parent:beam-runners-core-java")
compile library.java.findbugs_jsr305
compile library.java.guava
compile library.java.jackson_annotations
compile library.java.slf4j_api
compile library.java.joda_time
compile library.java.commons_text
compile "io.dropwizard.metrics:metrics-core:3.1.2"
compileOnly library.java.spark_core
compileOnly library.java.spark_streaming
compileOnly library.java.spark_network_common
compileOnly library.java.hadoop_common
compileOnly library.java.hadoop_mapreduce_client_core
compileOnly library.java.commons_compress
compileOnly library.java.commons_lang3
compileOnly library.java.commons_io_2x
compileOnly library.java.hamcrest_all
compileOnly "org.apache.zookeeper:zookeeper:3.4.6"
compileOnly "org.scala-lang:scala-library:2.10.5"
compileOnly "com.esotericsoftware.kryo:kryo:2.21"
testCompile project(":beam-sdks-parent:beam-sdks-java-parent:beam-sdks-java-io-parent:beam-sdks-java-io-kafka")
testCompile project(":beam-sdks-parent:beam-sdks-java-parent:beam-sdks-java-core").sourceSets.test.output
testCompile project(":beam-model-parent:beam-model-fn-execution").sourceSets.test.output
testCompile project(":beam-runners-parent:beam-runners-core-java").sourceSets.test.output
testCompile library.java.avro
testCompile library.java.kafka_clients
testCompile library.java.junit
testCompile library.java.mockito_all
testCompile library.java.jackson_dataformat_yaml
testCompile "org.apache.kafka:kafka_2.10:0.9.0.1"
testCompileOnly library.java.spark_core
testCompileOnly library.java.spark_streaming
testCompileOnly library.java.spark_network_common
testCompileOnly library.java.hadoop_common
testCompileOnly library.java.hadoop_mapreduce_client_core
testCompileOnly library.java.commons_compress
testCompileOnly library.java.commons_lang3
testCompileOnly library.java.commons_io_2x
testCompileOnly library.java.hamcrest_all
testCompileOnly "org.apache.zookeeper:zookeeper:3.4.6"
testCompileOnly "org.scala-lang:scala-library:2.10.5"
testCompileOnly "com.esotericsoftware.kryo:kryo:2.21"
}
task packageTests(type: Jar) {
from sourceSets.test.output
classifier = "tests"
}
artifacts.archives packageTests
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册