52 lines
1.1 KiB
Groovy
52 lines
1.1 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.3.4'
|
|
id 'io.spring.dependency-management' version '1.1.6'
|
|
}
|
|
|
|
group = 'ru.pricepulse'
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(21)
|
|
}
|
|
}
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
ext {
|
|
jsoupVesion = '1.18.1'
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.liquibase:liquibase-core'
|
|
implementation 'org.springframework.kafka:spring-kafka'
|
|
implementation "org.jsoup:jsoup:${jsoupVesion}"
|
|
|
|
compileOnly 'org.projectlombok:lombok'
|
|
|
|
runtimeOnly 'org.postgresql:postgresql'
|
|
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
testImplementation 'org.springframework.kafka:spring-kafka-test'
|
|
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|