-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
65 lines (57 loc) · 1.99 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
plugins {
id 'org.springframework.boot' version '2.7.18'
id 'io.spring.dependency-management' version '1.1.6'
id 'java'
}
group = 'org.commandline'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '21'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
ext {
set('testcontainersVersion', "1.15.2")
set('jdbiVersion', "3.18.0")
set('junitJupiterVersion','5.6.2')
set('lombokVersion', '1.18.34')
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-freemarker'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
// https://mvnrepository.com/artifact/org.jdbi/jdbi3-spring4
implementation "org.jdbi:jdbi3-spring4:${jdbiVersion}"
implementation "org.jdbi:jdbi3-sqlobject:${jdbiVersion}"
implementation "org.jdbi:jdbi3-postgres:${jdbiVersion}"
implementation "org.flywaydb:flyway-core"
compileOnly "org.projectlombok:lombok:${lombokVersion}"
runtimeOnly "org.postgresql:postgresql"
annotationProcessor "org.projectlombok:lombok:${lombokVersion}"
testImplementation "org.testcontainers:postgresql:${testcontainersVersion}"
testImplementation "org.testcontainers:selenium:${testcontainersVersion}"
testImplementation "org.seleniumhq.selenium:selenium-remote-driver"
testImplementation "org.seleniumhq.selenium:selenium-chrome-driver"
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation "org.junit.jupiter:junit-jupiter-engine:${junitJupiterVersion}"
testImplementation "org.junit.platform:junit-platform-runner"
testImplementation 'org.testcontainers:junit-jupiter'
testImplementation 'org.testcontainers:postgresql'
}
dependencyManagement {
imports {
mavenBom "org.testcontainers:testcontainers-bom:${testcontainersVersion}"
}
}
test {
//include '**/AllTestSuite.class'
useJUnitPlatform()
}
//task testAll(type: Test) {
// include '**/IntegrationTestSuite.class'
// include '**/UnitTestSuite.class'
//}