Files
mtusi2026lab7/build.gradle
T
landcruiser200 2bd97c8838
Application / application (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s
Implement lab7 security and compromised worker recovery evidence
2026-11-27 22:04:57 +03:00

77 lines
2.9 KiB
Groovy

plugins {
id 'java'
id 'org.springframework.boot' version '4.1.3'
id 'io.spring.dependency-management' version '1.1.7'
}
group = 'ru.mtusi'
version = '0.0.1-SNAPSHOT'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
ext['opentelemetry.version'] = '1.68.0'
repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.guava:guava:33.7.2-jre'
implementation 'org.xerial.snappy:snappy-java:1.1.10.9'
implementation 'io.opentelemetry:opentelemetry-sdk-extension-autoconfigure:1.68.0'
implementation 'io.opentelemetry:opentelemetry-exporter-otlp:1.68.0'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-webmvc'
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:3.1.0'
implementation 'com.bucket4j:bucket4j-core:8.10.1'
implementation 'org.mapstruct:mapstruct:1.6.3'
implementation 'org.postgresql:postgresql:42.7.13'
implementation 'org.springframework.boot:spring-boot-starter-flyway'
runtimeOnly 'org.flywaydb:flyway-database-postgresql'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa:4.1.3'
implementation 'org.springframework.boot:spring-boot-starter-data-redis:4.1.3'
implementation 'org.springframework.security:spring-security-crypto'
implementation 'org.bouncycastle:bcprov-jdk18on:1.85'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-oauth2-resource-server'
implementation 'org.springframework.boot:spring-boot-starter-cache'
implementation 'org.springframework.boot:spring-boot-starter-aspectj'
implementation 'org.springframework.boot:spring-boot-starter-jackson'
implementation 'io.minio:minio:9.0.3'
runtimeOnly 'io.netty:netty-transport-native-epoll::linux-x86_64'
testImplementation 'org.springframework.boot:spring-boot-starter-test:4.1.3'
testImplementation 'org.springframework.boot:spring-boot-starter-restclient-test'
testImplementation 'org.springframework.boot:spring-boot-resttestclient'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.mapstruct:mapstruct-processor:1.6.3'
annotationProcessor 'org.projectlombok:lombok-mapstruct-binding:0.2.0'
annotationProcessor 'org.projectlombok:lombok'
testCompileOnly 'org.projectlombok:lombok'
testAnnotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-actuator-test'
testImplementation 'org.springframework.boot:spring-boot-starter-validation-test'
testImplementation 'org.springframework.boot:spring-boot-starter-webmvc-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
tasks.withType(JavaCompile).configureEach {
options.compilerArgs << '-parameters'
}
tasks.named('test') {
useJUnitPlatform()
}