-
Notifications
You must be signed in to change notification settings - Fork 38
/
build.gradle.kts
96 lines (78 loc) · 3.23 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
92
93
94
95
96
import org.springframework.boot.gradle.tasks.bundling.BootJar
project.base.archivesName.set("shop-application")
plugins {
id(Plugins.spring_boot) version PluginVers.spring_boot
id(Plugins.spring_dependency_management) version PluginVers.spring_dependency_management
id(Plugins.spring_kotlin) version PluginVers.spring_kotlin
}
dependencies {
// project
implementation(project(":common:types"))
implementation(project(":common:telnet"))
implementation(project(":common:events"))
implementation(project(":common:rest"))
implementation(project(":shop:domain"))
implementation(project(":shop:usecase"))
implementation(project(":shop:in-memory-persistence"))
implementation(project(":shop:postgres-persistence"))
implementation(project(":shop:telnet"))
implementation(project(":shop:payment"))
implementation(project(":shop:crm"))
implementation(project(":shop:rest"))
// kotlin
implementation(Libs.kotlin_jdk8)
implementation(Libs.kotlin_reflect)
implementation(Libs.kotlin_stdlib)
// spring
implementation(Libs.spring_boot_starter_web)
implementation(Libs.spring_boot_starter_thymeleaf)
implementation(Libs.spring_boot_starter_logging)
implementation(Libs.spring_boot_starter_jdbc)
implementation(Libs.spring_boot_starter_amqp)
// swagger
implementation(Libs.swagger)
implementation(Libs.swagger_ui)
// jackson
implementation(Libs.jackson_kotlin)
// arrow
implementation(Libs.arrow)
// table
implementation(Libs.ascii_table)
// logging
implementation(Libs.slf4j_api)
// database
implementation(Libs.postgresql)
// test
testImplementation(Libs.kotest_junit)
testImplementation(Libs.kotest_arrow)
testImplementation(Libs.junit_engine)
testImplementation(Libs.junit_params)
testImplementation(Libs.spring_boot_starter_test) {
exclude(group = "org.junit.vintage", module = "junit-vintage-engine")
}
testImplementation(Libs.arch_unit)
testImplementation(Libs.commons_net)
testImplementation(Libs.testcontainers_rabbit)
testImplementation(Libs.spring_rabbit_test)
testImplementation(testFixtures(project(":common:types")))
testImplementation(testFixtures(project(":shop:domain")))
testImplementation(testFixtures(project(":shop:usecase")))
testFixturesImplementation(testFixtures(project(":common:types")))
testFixturesImplementation(testFixtures(project(":shop:domain")))
testFixturesImplementation(testFixtures(project(":shop:usecase")))
testFixturesImplementation(testFixtures(project(":shop:payment")))
testFixturesImplementation(project(":shop:in-memory-persistence"))
testFixturesImplementation(project(":shop:postgres-persistence"))
testFixturesImplementation(project(":common:events"))
testFixturesImplementation(Libs.arrow)
testFixturesImplementation(Libs.kotest_junit)
testFixturesImplementation(Libs.commons_net)
testFixturesImplementation(Libs.spring_boot_starter_test) {
exclude(group = "org.junit.vintage", module = "junit-vintage-engine")
}
testFixturesImplementation(Libs.spring_boot_starter_web)
testFixturesImplementation(Libs.spring_boot_starter_amqp)
}
tasks.build {
dependsOn("bootJar")
}