-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
60 lines (50 loc) · 1.74 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
group 'com.srujun'
version '1.1-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'maven-publish'
sourceCompatibility = 1.8
repositories {
mavenLocal()
mavenCentral()
}
// a configuration for dependencies that need exploding into package
configurations {
explode
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compile group: 'org.apache.commons', name: 'commons-math3', version: '3.6.1'
// compile group: 'org.apache.kafka', name: 'kafka-clients', version: '0.10.1.1'
//
// compile group: 'org.apache.samza', name: 'samza-api', version: '0.14.0'
// compile group: 'org.apache.samza', name: 'samza-shell', version: '0.14.0'
// compile group: 'org.apache.samza', name: 'samza-core_2.11', version: '0.14.0'
// compile group: 'org.apache.samza', name: 'samza-kafka_2.11', version: '0.14.0'
// compile group: 'org.apache.samza', name: 'samza-kv_2.11', version: '0.14.0'
// compile group: 'org.apache.samza', name: 'samza-yarn_2.11', version: '0.14.0'
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.2'
compile group: 'com.google.guava', name: 'guava', version: '23.5-jre'
// compile group: 'org.influxdb', name:'influxdb-java', version:'2.8'
}
//task distTar(dependsOn: build, type: Tar) {
// destinationDir(new File(project.buildDir, "/distributions"))
// compression(Compression.GZIP)
// classifier('dist')
// extension('tar.gz')
//
// into('config') {
// from 'src/main/config'
// }
//
// into("bin") {
// from {
// configurations.explode.collect { tarTree(it) }
// }
// }
//
// into("lib") {
// from configurations.runtime
// from configurations.runtime.artifacts.files
// }
//}