-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
50 lines (44 loc) · 1.7 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
plugins {
id 'org.springframework.boot' version '2.6.2'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.6.10'
id "org.jetbrains.kotlin.plugin.spring" version "1.6.10"
id "org.jetbrains.kotlin.plugin.jpa" version "1.6.10"
id "org.jetbrains.kotlin.plugin.allopen" version "1.6.10"
}
group = 'com.hotel'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'
repositories {
mavenCentral()
}
dependencies {
compileOnly 'javax:javaee-api:8.0.1'
runtimeOnly 'org.springframework.boot:spring-boot-devtools:2.6.2'
runtimeOnly 'com.h2database:h2:2.0.206'
implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity5:3.0.4.RELEASE'
implementation 'org.modelmapper:modelmapper:2.4.5'
implementation 'org.springframework.boot:spring-boot-starter-web:2.6.2'
implementation 'org.springframework.boot:spring-boot-starter-security:2.6.2'
implementation 'org.springframework.boot:spring-boot-starter-validation:2.6.2'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf:2.6.2'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa:2.6.2'
implementation 'org.springframework.session:spring-session-jdbc:2.6.1'
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10'
implementation 'org.jetbrains.kotlin:kotlin-reflect:1.6.10'
implementation 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:3.0.0'
}
compileKotlin {
kotlinOptions {
jvmTarget = '17'
}
}
allOpen {
annotation("javax.persistence.Entity")
annotation("javax.persistence.Embeddable")
annotation("javax.persistence.MappedSuperclass")
}
tasks.withType(org.gradle.jvm.tasks.Jar) {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}