-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
65 lines (52 loc) · 2.31 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
plugins {
java
id("org.springframework.boot") version "3.4.1"
id("io.spring.dependency-management") version "1.1.7"
}
group = "com.adhd"
version = "0.0.1-SNAPSHOT"
java {
toolchain {
languageVersion = JavaLanguageVersion.of(23)
}
}
configurations {
compileOnly {
extendsFrom(configurations["annotationProcessor"])
}
}
repositories {
mavenCentral()
}
dependencies {
/** Spring Boot Starters */
implementation("org.springframework.boot:spring-boot-starter-data-jdbc") // JDBC support
implementation("org.springframework.boot:spring-boot-starter-data-jpa") // JPA support
implementation("org.springframework.boot:spring-boot-starter-data-redis") // Redis support
implementation("org.springframework.boot:spring-boot-starter-security") // Spring Security
implementation("org.springframework.boot:spring-boot-starter-thymeleaf") // Thymeleaf templating engine
implementation("org.springframework.boot:spring-boot-starter-web") // Spring MVC and REST support
/** Thymeleaf Extras */
implementation("org.thymeleaf.extras:thymeleaf-extras-springsecurity6") // Thymeleaf + Spring Security integration
/** Lombok for code generation */
compileOnly("org.projectlombok:lombok") // Lombok compile-time annotations
annotationProcessor("org.projectlombok:lombok") // Annotation processor for Lombok
/** Jakarta Validation API */
implementation("jakarta.validation:jakarta.validation-api") // Validation API
implementation("org.hibernate.validator:hibernate-validator") // Hibernate Validator
/** Developer Tools */
developmentOnly("org.springframework.boot:spring-boot-devtools") // Auto-reload for development
/** JSON Web Token (JWT) */
implementation("io.jsonwebtoken:jjwt-api:0.12.6") // JWT API
implementation("io.jsonwebtoken:jjwt-impl:0.12.6") // JWT implementation
implementation("io.jsonwebtoken:jjwt-jackson:0.12.6") // JWT Jackson support
/** Database Drivers */
runtimeOnly("com.mysql:mysql-connector-j") // MySQL driver
/** Testing Dependencies */
testImplementation("org.springframework.boot:spring-boot-starter-test") // Spring Boot testing support
testImplementation("org.springframework.security:spring-security-test") // Spring Security test utilities
testRuntimeOnly("org.junit.platform:junit-platform-launcher") // JUnit platform launcher for runtime testing
}
tasks.withType<Test> {
useJUnitPlatform()
}