71 lines
1.9 KiB
Groovy
Executable File
71 lines
1.9 KiB
Groovy
Executable File
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.3.3'
|
|
id 'io.spring.dependency-management' version '1.1.6'
|
|
}
|
|
|
|
group = 'com.psg.ldsysinfo'
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(17)
|
|
}
|
|
}
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
// Spring Boot
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
|
implementation 'org.springframework.boot:spring-boot-starter-logging'
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
implementation 'org.springframework.boot:spring-boot-starter-mail'
|
|
implementation 'org.springframework.boot:spring-boot-starter-webflux'
|
|
implementation 'org.springframework.boot:spring-boot-starter-oauth2-resource-server'
|
|
|
|
// JWT
|
|
implementation 'io.jsonwebtoken:jjwt-api:0.11.5'
|
|
implementation 'io.jsonwebtoken:jjwt-impl:0.11.5'
|
|
implementation 'io.jsonwebtoken:jjwt-jackson:0.11.5'
|
|
|
|
// Database
|
|
implementation 'mysql:mysql-connector-java:8.0.29'
|
|
|
|
// Jackson + Date/Time
|
|
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310'
|
|
|
|
// Validation & JAXB (Jakarta & Legacy)
|
|
implementation 'jakarta.xml.bind:jakarta.xml.bind-api:3.0.1'
|
|
implementation 'javax.xml.bind:jaxb-api:2.3.1'
|
|
implementation 'jakarta.validation:jakarta.validation-api:3.0.0'
|
|
|
|
// Version comparison
|
|
implementation 'org.apache.maven:maven-artifact:3.9.6'
|
|
|
|
// Twilio
|
|
implementation 'com.twilio.sdk:twilio:9.14.1'
|
|
|
|
|
|
// Lombok
|
|
compileOnly 'org.projectlombok:lombok'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
|
|
// Testing
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
}
|
|
|
|
// ✅ Ensure resources (like springboot.p12) are available when using `bootRun`
|
|
bootRun {
|
|
sourceResources sourceSets.main
|
|
}
|