forked from pravega/pravega-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
46 lines (41 loc) · 1.22 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
37
38
39
40
41
42
43
44
45
46
/*
* Copyright (c) 2017 Dell Inc., or its subsidiaries. All Rights Reserved.
*
* Licensed 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
*
*/
plugins {
id 'com.github.johnrengelman.shadow' version '1.2.4'
}
apply plugin: "java"
apply plugin: "scala"
apply plugin: "distribution"
sourceCompatibility = "1.8"
archivesBaseName = 'pravega-flink-examples'
dependencies {
compile "org.scala-lang.modules:scala-java8-compat_2.11:0.3.0"
compile "io.pravega:pravega-connectors-flink_2.11:${connectorVersion}"
compile "org.apache.flink:flink-streaming-java_2.11:${flinkVersion}"
compile "org.apache.flink:flink-streaming-scala_2.11:${flinkVersion}"
}
shadowJar {
dependencies {
include dependency("org.scala-lang.modules:scala-java8-compat_2.11")
include dependency("io.pravega:pravega-connectors-flink_2.11")
}
}
distributions {
main {
baseName = archivesBaseName
contents {
into('lib') {
from shadowJar
from(project.configurations.shadow)
}
}
}
}