forked from monetate/koupler
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
95 lines (81 loc) · 3.21 KB
/
build.gradle
File metadata and controls
95 lines (81 loc) · 3.21 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
plugins {
id 'net.researchgate.release' version '2.3.4'
}
apply plugin: 'java'
apply plugin: 'maven'
group = 'com.monetate'
description = """koupler"""
sourceCompatibility = 1.8
targetCompatibility = 1.8
release {
versionPropertyFile = 'gradle.properties'
buildTasks = ['build', 'dist']
scmAdapters = [
net.researchgate.release.GitAdapter
]
git {
requireBranch = 'master'
pushToRemote = 'origin'
pushToBranchPrefix = ''
}
}
repositories {
mavenCentral()
}
configurations {
runtime.exclude group: "org.slf4j", module: "slf4j-simple"
}
dependencies {
compile group: 'com.google.guava', name:'guava', version:'18.0'
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version:'2.3'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version:'2.3'
compile group: 'org.apache.logging.log4j', name: 'log4j-slf4j-impl', version:'2.3'
compile group: 'com.amazonaws', name: 'amazon-kinesis-client', version:'1.5.1'
compile group: 'com.amazonaws', name: 'amazon-kinesis-producer', version:'0.10.1'
compile group: 'com.amazonaws', name: 'aws-java-sdk-kinesis', version:'1.9.37'
compile group: 'com.amazonaws', name: 'aws-java-sdk-cloudwatch', version:'1.9.37'
compile group: 'com.amazonaws', name: 'aws-java-sdk-core', version:'1.9.37'
compile group: 'com.amazonaws', name: 'aws-java-sdk-s3', version:'1.9.37'
compile group: 'org.slf4j', name: 'slf4j-api', version:'1.7.12'
compile group: 'junit', name: 'junit', version:'4.11'
compile group: 'com.sparkjava', name: 'spark-core', version:'2.3'
compile group: 'io.dropwizard.metrics', name: 'metrics-core', version:'3.1.2'
compile group: 'org.apache.httpcomponents', name: 'httpclient', version:'4.3.4'
compile group: 'org.apache.httpcomponents', name: 'httpcore', version:'4.3.2'
compile group: 'org.hamcrest', name:'hamcrest-core', version:'1.3'
compile group: 'commons-logging', name: 'commons-logging', version:'1.1.3'
compile group: 'commons-cli', name: 'commons-cli', version:'1.3.1'
compile group: 'org.eclipse.jetty', name: 'jetty-server', version:'9.0.2.v20130417'
compile group: 'org.eclipse.jetty', name: 'jetty-servlet', version:'9.0.2.v20130417'
compile group: 'org.eclipse.jetty', name: 'jetty-util', version:'9.0.2.v20130417'
compile group: 'org.eclipse.jetty', name: 'jetty-io', version:'9.0.2.v20130417'
compile group: 'org.eclipse.jetty', name: 'jetty-http', version:'9.0.2.v20130417'
compile group: 'com.jayway.jsonpath', name: 'json-path', version:'2.2.0'
}
task copyRuntimeLibs(dependsOn: 'build', type: Copy) {
from configurations.runtime
into 'build/libs'
}
task zipDistribution(dependsOn: 'copyRuntimeLibs', type: Zip) {
into("koupler-${version}") {
from 'LICENSE.txt'
from 'README.md'
from 'sh/koupler.sh'
into('conf') {
from { fileTree('conf').files }
include('*')
}
into('lib') {
from { fileTree('build/libs').files }
include('*.jar')
}
}
}
task dist (dependsOn: 'zipDistribution', type: Copy){
from 'build/distributions/'
include '*.zip'
into 'releases'
}
clean{
delete "target"
}