-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
104 lines (78 loc) · 2.99 KB
/
build.gradle
File metadata and controls
104 lines (78 loc) · 2.99 KB
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
97
98
99
100
101
102
103
104
plugins {
id 'org.jetbrains.kotlin.jvm' version '2.2.10'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}
group 'com.cdpjenkins'
version '1.01-SNAPSHOT'
repositories {
mavenCentral()
}
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'java'
sourceSets {
intTest {
compileClasspath += sourceSets.main.output
runtimeClasspath += sourceSets.main.output
}
}
kotlin {
jvmToolchain(21)
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib"
// implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.19.+"
implementation platform("com.fasterxml.jackson:jackson-bom:2.15.2")
implementation "com.fasterxml.jackson.module:jackson-module-kotlin" // version managed by BOM
implementation 'org.apache.xmlgraphics:batik-all:1.19'
implementation platform("org.http4k:http4k-bom:6.15.1.0")
implementation "org.http4k:http4k-core"
implementation "org.http4k:http4k-format-jackson"
implementation "org.http4k:http4k-server-netty"
implementation "org.http4k:http4k-client-okhttp"
implementation "org.http4k:http4k-config"
implementation "org.jdbi:jdbi3-bom:3.20.0"
implementation "org.jdbi:jdbi3-core"
implementation "org.jdbi:jdbi3-postgres:3.20.0"
runtimeOnly "org.postgresql:postgresql:42.2.20"
implementation 'io.github.oshai:kotlin-logging-jvm:5.1.0'
implementation 'ch.qos.logback:logback-classic:1.5.13'
implementation platform("software.amazon.awssdk:bom:2.33.13")
implementation "software.amazon.awssdk:s3"
implementation 'org.apache.commons:commons-compress:1.27.1'
implementation("com.github.ajalt.clikt:clikt:5.0.1")
// implementation("com.github.ajalt.clikt:clikt-markdown:5.0.1")
testImplementation(platform("org.junit:junit-bom:5.7.1"))
testImplementation("org.junit.jupiter:junit-jupiter")
testImplementation("io.kotest:kotest-assertions-core:6.0.1")
testImplementation("io.mockk:mockk:1.13.13")
intTestImplementation(platform("org.junit:junit-bom:5.7.1"))
intTestImplementation("org.junit.jupiter:junit-jupiter")
intTestImplementation("io.kotest:kotest-assertions-core:6.0.1")
intTestImplementation "org.testcontainers:testcontainers:1.21.4"
intTestImplementation "org.testcontainers:junit-jupiter:1.15.3"
intTestImplementation "org.testcontainers:postgresql:1.15.3"
intTestImplementation 'org.testcontainers:localstack:1.21.4'
intTestRuntimeOnly 'org.postgresql:postgresql:42.7.7'
}
tasks.test {
useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed")
}
}
build {
dependsOn shadowJar
}
task stage(dependsOn: ['build'])
configurations {
intTestImplementation.extendsFrom implementation
intTestRuntimeOnly.extendsFrom runtimeOnly
}
task intTest(type: Test) {
testClassesDirs = sourceSets.intTest.output.classesDirs
classpath = sourceSets.intTest.runtimeClasspath
useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed")
}
}