34 lines
842 B
Groovy
34 lines
842 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.0.1'
|
|
id 'io.spring.dependency-management' version '1.1.0'
|
|
}
|
|
|
|
group = 'com.s477603'
|
|
version = '0.0.1-SNAPSHOT'
|
|
sourceCompatibility = '17'
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
|
|
implementation 'org.springframework.boot:spring-boot-starter-oauth2-resource-server'
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
compileOnly 'org.projectlombok:lombok'
|
|
runtimeOnly 'com.mysql:mysql-connector-j'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|