-
Notifications
You must be signed in to change notification settings - Fork 25
/
build.gradle
executable file
·36 lines (31 loc) · 1.12 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
apply plugin: "application"
apply plugin: "java"
apply plugin: "idea"
task wrapper(type: Wrapper) {
gradleVersion = "4.10"
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
compile "org.slf4j:slf4j-log4j12:1.7.12"
compile "org.apache.beam:beam-sdks-java-core:{$beam_version}"
compile "org.apache.beam:beam-runners-google-cloud-dataflow-java:${beam_version}"
compile "org.apache.beam:beam-sdks-java-io-google-cloud-platform:${beam_version}"
compile "org.apache.beam:beam-sdks-java-extensions-google-cloud-platform-core:${beam_version}"
compile "org.apache.beam:beam-sdks-java-extensions-sql:${beam_version}"
testCompile "org.hamcrest:hamcrest-all:1.3"
}
run {
args = ["--project=grey-sort-challenge",
"--runner=DataflowRunner",
"--maxNumWorkers=5",
"--numWorkers=1",
"--zone=australia-southeast1-a",
"--stagingLocation=gs://batch-pipeline/jars",
"--tempLocation=gs://batch-pipeline/tmp",
"--templateLocation=gs://batch-pipeline/template/pipeline"
]
}
mainClassName="org.polleyg.TemplatePipeline"