Files
TelegaBot/build.gradle
T
2025-02-07 14:00:16 +03:00

58 lines
2.2 KiB
Groovy

plugins {
id 'java'
id 'org.springframework.boot' version '3.4.2'
id 'io.spring.dependency-management' version '1.1.7'
}
group = 'ru.cathub'
version = '0.0.1-SNAPSHOT'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter'
compileOnly 'org.projectlombok:lombok'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
// developmentOnly 'org.springframework.boot:spring-boot-docker-compose'
runtimeOnly 'org.postgresql:postgresql'
implementation 'org.springframework.boot:spring-boot-starter-cache'
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
//testImplementation 'org.springframework.boot:spring-boot-testcontainers'
//testImplementation 'org.testcontainers:junit-jupiter'
//testImplementation 'org.testcontainers:postgresql'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
// implementation group: 'org.telegram', name: 'telegrambots', version: '6.9.7.1'
// implementation 'org.telegram:telegrambots-meta:8.2.0' // И эту
// https://mvnrepository.com/artifact/org.telegram/telegrambots-springboot-longpolling-starter
implementation group: 'org.telegram', name: 'telegrambots-springboot-longpolling-starter', version: '7.2.0'
// https://mvnrepository.com/artifact/org.telegram/telegrambots-client
implementation group: 'org.telegram', name: 'telegrambots-client', version: '7.2.0'
implementation 'org.hibernate:hibernate-core:6.4.4.Final'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
// https://mvnrepository.com/artifact/com.github.ben-manes.caffeine/caffeine
implementation group: 'com.github.ben-manes.caffeine', name: 'caffeine', version: '3.2.0'
// https://mvnrepository.com/artifact/io.hypersistence/hypersistence-utils-hibernate-63
implementation group: 'io.hypersistence', name: 'hypersistence-utils-hibernate-63', version: '3.9.1'
}
tasks.named('test') {
useJUnitPlatform()
}