30 lines
704 B
Groovy
30 lines
704 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.1.4'
|
|
id 'io.spring.dependency-management' version '1.1.3'
|
|
}
|
|
|
|
group = 'com.example'
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
java {
|
|
sourceCompatibility = '17'
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'javax.persistence:javax.persistence-api:2.2' // Specify the desired version
|
|
implementation 'com.github.javafaker:javafaker:1.0.2'
|
|
runtimeOnly 'com.h2database:h2'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|