39 lines
821 B
Groovy
39 lines
821 B
Groovy
|
plugins {
|
||
|
id 'java'
|
||
|
id 'org.springframework.boot' version '3.3.1'
|
||
|
id 'io.spring.dependency-management' version '1.1.5'
|
||
|
}
|
||
|
|
||
|
group = 'com.edufocus'
|
||
|
version = '0.0.1-SNAPSHOT'
|
||
|
|
||
|
java {
|
||
|
toolchain {
|
||
|
languageVersion = JavaLanguageVersion.of(17)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
configurations {
|
||
|
compileOnly {
|
||
|
extendsFrom annotationProcessor
|
||
|
}
|
||
|
}
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
||
|
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'
|
||
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
||
|
}
|
||
|
|
||
|
tasks.named('test') {
|
||
|
useJUnitPlatform()
|
||
|
}
|