plugins { id 'java' id 'org.springframework.boot' version '3.4.2' id 'io.spring.dependency-management' version '1.1.7' id 'org.flywaydb.flyway' version '11.3.1' } 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' implementation 'org.springframework.boot:spring-boot-starter-cache' annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor' // https://mvnrepository.com/artifact/org.hibernate/hibernate-tools annotationProcessor 'org.hibernate.orm:hibernate-jpamodelgen:6.4.4.Final' 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: '8.2.0' // https://mvnrepository.com/artifact/org.telegram/telegrambots-client implementation group: 'org.telegram', name: 'telegrambots-client', version: '8.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' implementation group: 'org.jobrunr', name: 'jobrunr-spring-boot-3-starter', version: '7.4.0' // https://mvnrepository.com/artifact/org.flywaydb/flyway-database-postgresql runtimeOnly group: 'org.flywaydb', name: 'flyway-database-postgresql', version: '11.3.1' // https://mvnrepository.com/artifact/org.postgresql/postgresql implementation group: 'org.postgresql', name: 'postgresql', version: '42.7.5' implementation 'org.springframework.boot:spring-boot-starter-web' } tasks.named('test') { useJUnitPlatform() } flyway { locations = ['classpath:db/migration'] url = project.properties['DB_URL'] user = project.properties['DB_USER'] password = project.properties['DB_PASSWORD'] }