-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
53 lines (38 loc) · 1.47 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
plugins {
kotlin("jvm")
java
id ("com.bmuschko.docker-java-application")
}
dependencies {
val rabbitVersion: String by project
val jacksonVersion: String by project
val logbackVersion: String by project
val coroutinesVersion: String by project
val testContainersVersion: String by project
implementation(kotlin("stdlib"))
implementation("com.rabbitmq:amqp-client:$rabbitVersion")
implementation("com.fasterxml.jackson.core:jackson-databind:$jacksonVersion")
implementation("ch.qos.logback:logback-classic:$logbackVersion")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion")
// common
implementation(project(":ok-marketplace-common"))
implementation(project(":ok-marketplace-app-common"))
// v1 api
implementation(project(":ok-marketplace-api-v1-jackson"))
implementation(project(":ok-marketplace-mappers-v1"))
// v2 api
implementation(project(":ok-marketplace-mappers-v2"))
implementation(project(":ok-marketplace-api-v2-kmp"))
implementation(project(":ok-marketplace-biz"))
testImplementation("org.testcontainers:rabbitmq:$testContainersVersion")
testImplementation(kotlin("test"))
testImplementation(project(":ok-marketplace-stubs"))
}
docker {
javaApplication {
baseImage.set("openjdk:17")
ports.set(listOf(8080,5672))
images.set(setOf("${project.name}:latest"))
jvmArgs.set(listOf("-XX:+UseContainerSupport"))
}
}