-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle
77 lines (64 loc) · 1.69 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:5.2.0'
}
}
plugins {
id 'groovy'
id 'java-library'
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
}
apply plugin: 'com.github.johnrengelman.shadow'
group 'org.example'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
jar {
manifest {
attributes(
'Main-Class': 'com.couchbase.perf.shared.main.Execute'
)
}
}
sourceSets {
main {
groovy {
srcDirs 'src'
srcDirs 'vars'
}
}
}
dependencies {
implementation 'org.apache.groovy:groovy-all:4.0.4'
implementation 'org.apache.groovy:groovy-yaml:4.0.4'
implementation 'org.yaml:snakeyaml:1.30'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.13.3'
implementation 'org.postgresql:postgresql:42.3.6'
testImplementation group: 'junit', name: 'junit', version: '4.13.1'
}
task tags(type: JavaExec) {
group = "Execution"
description = "Run the TagsProcessor tool"
classpath = sourceSets.main.runtimeClasspath
main = "com.couchbase.tools.tags.TagProcessor"
}
task buildPerformer(type: JavaExec) {
group = "Execution"
description = "Build the Docker image for a performer"
classpath = sourceSets.main.runtimeClasspath
main = "com.couchbase.tools.performer.BuildPerformer"
}
task setupPerfDatabase(type: JavaExec) {
group = "Execution"
description = "Setup the performance database"
classpath = sourceSets.main.runtimeClasspath
main = "com.couchbase.tools.perf.database.SetupPerfDatabase"
}