forked from ecrookshanks/simple-data-generator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
38 lines (30 loc) · 1.04 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
plugins {
id 'java'
id 'org.sonarqube' version '2.6'
id 'net.researchgate.release' version '2.6.0'
}
group 'com.pahlsoft.examples.simpledata'
sourceCompatibility = 11
//create a single Jar with all dependencies
task fatJar(type: Jar) {
manifest {
attributes 'Implementation-Title': 'Simple Load Generator',
'Implementation-Version': 1.0,
'Main-Class': 'com.pahlsoft.simpledata.runner.EngineRunner'
}
baseName = project.name
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compile 'org.elasticsearch.client:elasticsearch-rest-high-level-client:7.3.2',
'org.slf4j:slf4j-api:1.7.25', 'ch.qos.logback:logback-classic:1.2.3', 'ch.qos.logback:logback-core:1.2.3',
'com.github.javafaker:javafaker:0.14', 'co.elastic.apm:apm-agent-api:1.10.0'
}
clean {
delete 'out', 'build', 'transaction-engine.log'
}