42 lines
987 B
Groovy
42 lines
987 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.3.3'
|
|
id 'io.spring.dependency-management' version '1.1.6'
|
|
}
|
|
|
|
group = 'com.example'
|
|
version = '0.0.1-SNAPSHOT'
|
|
sourceCompatibility = '17'
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(17)
|
|
}
|
|
}
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
implementation 'com.oracle.database.jdbc:ojdbc8:19.8.0.0'
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
runtimeOnly 'org.springframework.boot:spring-boot-devtools'
|
|
implementation 'org.hibernate.orm:hibernate-core:6.5.2.Final'
|
|
implementation 'com.fasterxml.jackson.core:jackson-databind:2.14.0'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|