2022-07-28 16:51:36 +02:00
|
|
|
plugins {
|
|
|
|
id 'org.springframework.boot' version '2.7.2'
|
|
|
|
id 'io.spring.dependency-management' version '1.0.12.RELEASE'
|
|
|
|
id 'java'
|
|
|
|
}
|
|
|
|
|
|
|
|
group = 'net.hostsharing'
|
|
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
sourceCompatibility = '17'
|
|
|
|
|
|
|
|
configurations {
|
|
|
|
compileOnly {
|
|
|
|
extendsFrom annotationProcessor
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
ext {
|
|
|
|
set('testcontainersVersion', "1.17.3")
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-rest'
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
2022-08-03 09:06:21 +02:00
|
|
|
implementation 'org.springdoc:springdoc-openapi-ui:1.6.9'
|
2022-07-28 16:51:36 +02:00
|
|
|
implementation 'org.liquibase:liquibase-core'
|
2022-07-29 14:24:50 +02:00
|
|
|
implementation 'com.vladmihalcea:hibernate-types-55:2.17.1'
|
2022-07-28 16:51:36 +02:00
|
|
|
|
|
|
|
compileOnly 'org.projectlombok:lombok'
|
|
|
|
|
|
|
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
|
|
|
|
|
|
|
runtimeOnly 'org.postgresql:postgresql'
|
|
|
|
|
|
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
|
|
|
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
|
|
testImplementation 'org.testcontainers:testcontainers'
|
|
|
|
testImplementation 'org.testcontainers:junit-jupiter'
|
|
|
|
testImplementation 'org.testcontainers:postgresql'
|
2022-08-02 15:17:24 +02:00
|
|
|
testImplementation 'com.tngtech.archunit:archunit-junit5:1.0.0-rc1'
|
2022-07-28 16:51:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencyManagement {
|
|
|
|
imports {
|
|
|
|
mavenBom "org.testcontainers:testcontainers-bom:${testcontainersVersion}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.named('test') {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|