40 lines
900 B
Groovy
40 lines
900 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'java-library'
|
|
id 'maven-publish'
|
|
id 'jacoco'
|
|
id 'test-report-aggregation'
|
|
id 'jacoco-report-aggregation'
|
|
alias(libs.plugins.lombok)
|
|
}
|
|
|
|
repositories {
|
|
//maven { setUrl("https://nexus.thpeetz.de/repository/maven-central") }
|
|
mavenCentral()
|
|
maven { setUrl("https://repo.spring.io/milestone") }
|
|
}
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_21
|
|
}
|
|
|
|
configurations {
|
|
developmentOnly
|
|
runtimeClasspath {
|
|
extendsFrom developmentOnly
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
//implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
//implementation 'org.postgresql:postgresql'
|
|
//implementation 'org.hibernate.orm:hibernate-community-dialects'
|
|
compileOnly libs.spring.data
|
|
compileOnly 'org.projectlombok:lombok'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
}
|
|
|
|
wrapper {
|
|
gradleVersion = "8.6"
|
|
}
|