Files
getting-started/spring-boot/testcontainers/build.gradle
2020-04-22 23:56:35 +02:00

41 lines
1.0 KiB
Groovy

plugins {
id 'org.springframework.boot' version '2.2.5.RELEASE'
id 'io.spring.dependency-management' version '1.0.9.RELEASE'
id 'java'
}
apply plugin: 'java'
group = 'de.kuksin'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '9'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
implementation 'org.flywaydb:flyway-core'
compileOnly 'org.projectlombok:lombok'
compile 'org.postgresql:postgresql'
runtimeOnly 'com.h2database:h2'
annotationProcessor 'org.projectlombok:lombok'
testCompile "org.testcontainers:testcontainers:1.12.5"
testCompile "org.testcontainers:junit-jupiter:1.12.5"
testCompile "org.testcontainers:postgresql:1.12.5"
}
test {
useJUnitPlatform()
}