forked from mtusi2026/mtusi2026lab3
56 lines
1.9 KiB
Groovy
56 lines
1.9 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '4.1.1'
|
|
id 'io.spring.dependency-management' version '1.1.7'
|
|
}
|
|
|
|
group = 'com.example'
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(23)
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
// implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
// implementation 'org.springframework.boot:spring-boot-starter-security'
|
|
implementation 'org.springframework.boot:spring-boot-starter-webmvc'
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
|
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
|
|
implementation 'org.springframework.boot:spring-boot-flyway'
|
|
implementation 'org.flywaydb:flyway-core'
|
|
implementation 'org.flywaydb:flyway-database-postgresql'
|
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
|
implementation 'org.bouncycastle:bcprov-jdk18on:1.84'
|
|
implementation 'org.apache.commons:commons-pool2'
|
|
runtimeOnly 'org.postgresql:postgresql'
|
|
|
|
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310'
|
|
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.3'
|
|
compileOnly 'org.projectlombok:lombok'
|
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
// testImplementation 'org.springframework.boot:spring-boot-starter-data-jpa-test'
|
|
// testImplementation 'org.springframework.boot:spring-boot-starter-security-test'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-webmvc-test'
|
|
testCompileOnly 'org.projectlombok:lombok'
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
|
testAnnotationProcessor 'org.projectlombok:lombok'
|
|
|
|
implementation("com.github.f4b6a3:uuid-creator:6.1.1")
|
|
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|
|
|