Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// custom configuration and dependencies are moved to buildSrc
// dependabot probably wont work with such configuration
// dependabot probably won't work with such configuration

plugins {
id 'spotless-conventions'
Expand All @@ -11,7 +11,7 @@ ext {

// doesn't work in build.gradle in buildSrc project
ext {
springCloudDependencies = "org.springframework.cloud:spring-cloud-dependencies:2025.1.0"
springCloudDependencies = "org.springframework.cloud:spring-cloud-dependencies:2025.1.1"
}

//share project version between all projects
Expand Down
6 changes: 3 additions & 3 deletions buildSrc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ repositories {
// dependency for spring boot gradle plugin and dependency management.
// It is necessary to share it between conventions as plugins
dependencies {
implementation 'org.springframework.boot:spring-boot-gradle-plugin:4.0.1'
implementation 'org.springframework.boot:spring-boot-gradle-plugin:4.0.2'
implementation 'io.spring.gradle:dependency-management-plugin:1.1.7'
implementation 'com.diffplug.spotless:spotless-lib:4.1.0'
implementation 'com.diffplug.spotless:spotless-plugin-gradle:8.1.0'
implementation 'com.diffplug.spotless:spotless-lib:4.3.0'
implementation 'com.diffplug.spotless:spotless-plugin-gradle:8.2.1'
runtimeOnly 'com.google.protobuf:protobuf-gradle-plugin:0.9.6'
}
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.1-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
33 changes: 18 additions & 15 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

185 changes: 93 additions & 92 deletions gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class Chat {
@GeneratedValue(strategy = GenerationType.IDENTITY)
private long id;

@Column(name = "chat_id")
@Column(name = "chat_id", nullable = false)
private long chatId;

@Column(name = "type")
Expand All @@ -44,7 +44,7 @@ public class Chat {
@Column(name = "username")
private String username;

@Column(name = "active")
@Column(name = "active", nullable = false)
private boolean active;

@Column(name = "message_thread_id")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ public class SentCoubsRegistry {
@JoinColumn(name = "subscription_id")
private Subscription subscription;

@Column(name = "coub_permalink")
@Column(name = "coub_permalink", nullable = false)
private String coubPermalink;

@Column(name = "date_time")
@Column(name = "date_time", nullable = false)
private LocalDateTime dateTime;
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class Community {
@Column(name = "external_id")
private long externalId;

@Column(name = "name")
@Column(name = "name", nullable = false)
private String name;

@BatchSize(size = 10) // not necessary if entity graph is used
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class Section {
@GeneratedValue(strategy = GenerationType.IDENTITY)
private long id;

@Column(name = "name")
@Column(name = "name", nullable = false)
private String name;

@Override
Expand Down
4 changes: 2 additions & 2 deletions telegram_bot/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ dependencies {

// bot - doesn't work with eureka client
// adds core bot functionality
implementation('org.telegram:telegrambots-longpolling:9.2.1') {
implementation('org.telegram:telegrambots-longpolling:9.3.0') {
exclude group: 'org.glassfish.jersey.containers'
exclude group: 'org.glassfish.jersey.core'
exclude group: 'org.glassfish.jersey.inject'
exclude group: 'org.glassfish.jersey.media'
}
implementation('org.telegram:telegrambots-client:9.2.1') // adds client to communicate with telegram api
implementation('org.telegram:telegrambots-client:9.3.0') // adds client to communicate with telegram api

// freemarker
implementation 'org.springframework.boot:spring-boot-starter-freemarker'
Expand Down
Loading
Loading