-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
46 lines (41 loc) · 1.58 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
plugins {
java
id("org.springframework.boot") version "3.2.0"
id("io.spring.dependency-management") version "1.1.4"
checkstyle
id("com.github.sherter.google-java-format") version "0.9"
}
group = "org.gfa"
version = "0.0.1-SNAPSHOT"
java {
sourceCompatibility = JavaVersion.VERSION_17
}
repositories {
mavenCentral()
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
implementation("org.springframework.boot:spring-boot-starter-security")
implementation("io.jsonwebtoken:jjwt-api:0.12.3")
implementation("io.jsonwebtoken:jjwt-impl:0.12.3")
implementation("io.jsonwebtoken:jjwt-jackson:0.12.3")
developmentOnly("org.springframework.boot:spring-boot-devtools")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("org.springframework.security:spring-security-test")
runtimeOnly("com.mysql:mysql-connector-j")
runtimeOnly("org.mariadb.jdbc:mariadb-java-client")
//for email validation
implementation ("org.springframework.boot:spring-boot-starter-mail")
implementation ("org.springframework:spring-context-support:5.3.10")
implementation ("javax.mail:javax.mail-api:1.5.6")
implementation ("javax.mail:mail:1.4.7")
implementation ("io.github.cdimascio:java-dotenv:5.2.0")
//H2
testImplementation("com.h2database:h2:2.2.220")
//Swagger
implementation ("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.3.0")
}
tasks.withType<Test> {
useJUnitPlatform()
}