-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
56 lines (44 loc) · 1.41 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
plugins {
id 'java'
id 'org.springframework.boot' version '2.7.11'
}
apply plugin: 'io.spring.dependency-management'
repositories {
mavenLocal()
mavenCentral()
}
ext {
jmhVersion = '1.25'
lombokVersion = '1.18.26'
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-freemarker'
implementation 'org.postgresql:postgresql'
implementation 'p6spy:p6spy:3.8.0'
implementation 'com.google.guava:guava:23.0'
implementation 'com.github.gavlyukovskiy:p6spy-spring-boot-starter:1.5.3'
compileOnly "org.projectlombok:lombok:${lombokVersion}"
annotationProcessor "org.projectlombok:lombok:${lombokVersion}"
implementation "org.openjdk.jmh:jmh-core:${jmhVersion}"
annotationProcessor "org.openjdk.jmh:jmh-generator-annprocess:${jmhVersion}"
testImplementation 'com.h2database:h2'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
configurations {
compile.exclude module: 'logback-classic'
compile.exclude module: 'spring-boot-starter-logging'
}
group = 'com.luxoft.logeek'
version = '1.0-SNAPSHOT'
description = 'Examples for Luxoft Logeek Night Spring Data talk'
sourceCompatibility = 19
targetCompatibility = 19
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
options.compilerArgs << '-Xlint:unchecked'
options.compilerArgs << '-parameters'
}
test {
useJUnitPlatform()
}