-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
91 lines (68 loc) · 2.18 KB
/
build.gradle.kts
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
import org.veupathdb.lib.gradle.container.util.Logger.Level
plugins {
kotlin("jvm")
id("org.veupathdb.lib.gradle.container.container-utils") version "5.0.5"
}
// configure VEupathDB container plugin
containerBuild {
// Change if debugging the build process is necessary.
logLevel = Level.Info
// General project level configuration.
project {
// Project Name
name = "vdi-service"
// Project Group
group = "org.veupathdb.service"
// Project Version
version = "1.0.0"
// Project Root Package
projectPackage = "org.veupathdb.service.vdi"
// Main Class Name
mainClassName = "Main"
}
// Docker build configuration.
docker {
// Docker build context
context = "."
// Name of the target docker file
dockerFile = "Dockerfile"
// Resulting image tag
imageName = "vdi-service"
}
}
dependencies {
implementation(project(":lib:app-db"))
implementation(project(":lib:cache-db"))
implementation(project(":lib:dataset-reinstaller"))
implementation(project(":lib:env"))
implementation(project(":lib:health"))
implementation(project(":lib:install-cleanup"))
implementation(project(":lib:plugin-mapping"))
implementation(project(":lib:pruner"))
implementation(project(":lib:reconciler"))
implementation(project(":lib:s3"))
implementation(project(":lib:metrics"))
implementation(libs.vdi.json)
implementation(libs.vdi.common)
implementation(libs.fgputil.db)
implementation(libs.container.core)
implementation(libs.container.multipart)
implementation(libs.s34k)
implementation(kotlin("stdlib-jdk8"))
implementation(libs.kt.coroutines)
// Jersey
implementation(libs.http.server.jersey)
// Log4J
implementation(libs.log.slf4j)
implementation(libs.log.log4j.core)
implementation(libs.log.log4j.slf4j)
// Metrics (can remove if not adding custom service metrics over those provided by container core)
implementation(libs.prometheus.client)
implementation(libs.prometheus.common)
// Unit Testing
testImplementation(kotlin("test"))
testImplementation(libs.junit.api)
testImplementation(libs.mockito.core)
testImplementation(libs.mockito.kotlin)
testRuntimeOnly(libs.junit.engine)
}