Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
krusche committed Dec 21, 2024
1 parent b6fe1a4 commit 1030c44
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
2 changes: 0 additions & 2 deletions apns/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ dependencies {

implementation 'com.eatthepath:pushy:0.15.4'

implementation 'jakarta.annotation:jakarta.annotation-api:3.0.0'

implementation(project(":common"))
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.event.ApplicationReadyEvent;
import org.springframework.context.event.EventListener;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Service;

import jakarta.annotation.PostConstruct;
import java.io.File;
import java.io.IOException;
import java.time.Duration;
Expand All @@ -37,8 +38,8 @@ public class ApnsSendService implements SendService<NotificationRequest> {

private ApnsClient apnsClient;

@PostConstruct
public void initialize() {
@EventListener(ApplicationReadyEvent.class)
public void applicationReady() {
log.info("apnsCertificatePwd: {}", apnsCertificatePwd);
log.info("apnsCertificatePath: {}", apnsCertificatePath);
log.info("apnsProdEnvironment: {}", apnsProdEnvironment);
Expand Down
6 changes: 3 additions & 3 deletions firebase/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter'
implementation 'org.springframework.boot:spring-boot-starter-web'

implementation "com.google.firebase:firebase-admin:9.3.0"
implementation "com.google.firebase:firebase-admin:9.4.2"

// use the latest version to avoid security vulnerabilities
// TODO: I don't think we need this dependency, we could also try to exclude it
implementation "com.google.protobuf:protobuf-java:4.29.1"
implementation "com.google.protobuf:protobuf-java-util:4.29.1"
implementation "com.google.protobuf:protobuf-java:4.29.2"
implementation "com.google.protobuf:protobuf-java-util:4.29.2"

implementation(project(":common"))
}
Expand Down
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-8.10.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
4 changes: 2 additions & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ pluginManagement {

plugins {
id 'java' apply false
id 'org.springframework.boot' version '3.4.0' apply false
id 'io.spring.dependency-management' version '1.1.6' apply false
id 'org.springframework.boot' version '3.4.1' apply false
id 'io.spring.dependency-management' version '1.1.7' apply false
}
}

Expand Down

0 comments on commit 1030c44

Please sign in to comment.