Introduced Jackson dependencies to replace Gson for JSON processing. Updated application properties and controllers to handle Jackson-specific exceptions. Refactored form serialization to use Jackson's `ObjectMapper` for better date handling and consistency.
37 lines
990 B
Groovy
37 lines
990 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.2.1'
|
|
id 'io.spring.dependency-management' version '1.1.4'
|
|
}
|
|
|
|
group 'com.alttd'
|
|
version '1.0-SNAPSHOT'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
ext {
|
|
junitVersion = '5.9.2'
|
|
}
|
|
|
|
sourceCompatibility = '17'
|
|
|
|
tasks.withType(JavaCompile) {
|
|
options.encoding = 'UTF-8'
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
|
implementation group: 'javax.mail', name: 'mail', version: '1.4'
|
|
implementation 'org.springframework.boot:spring-boot-starter-logging'
|
|
implementation 'org.mariadb.jdbc:mariadb-java-client:2.1.2'
|
|
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.12.3'
|
|
}
|
|
|
|
test {
|
|
systemProperty 'doNotRunDatabaseTests', System.getProperty('doNotRunDatabaseTests')
|
|
useJUnitPlatform()
|
|
} |