Skip to content

Commit e664233

Browse files
Update dependencies
1 parent e9a0090 commit e664233

File tree

6 files changed

+23
-15
lines changed

6 files changed

+23
-15
lines changed

.github/workflows/publishing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515
jobs:
1616
formatting:
1717
name: Check formatting
18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-24.04
1919

2020
steps:
2121
- name: Checkout repository
@@ -32,7 +32,7 @@ jobs:
3232

3333
test:
3434
name: Test
35-
runs-on: ubuntu-latest
35+
runs-on: ubuntu-24.04
3636
environment: test
3737

3838
steps:

gradle.properties

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
org.gradle.jvmargs=-Xmx1024M
2-
quarkusPlatformVersion=3.21.4
3-
quarkusPluginVersion=3.21.4
4-
sentryVersion=8.11.1
2+
quarkusPlatformVersion=3.25.3
3+
quarkusPluginVersion=3.25.3
4+
sentryVersion=8.19.1
55
javaXtVersion=2.1.11
66
twelveMonkeysVersion=3.12.0
7-
spotlessPluginVersion=7.0.3
8-
lombokPluginVersion=8.13.1
7+
spotlessPluginVersion=7.2.1
8+
lombokPluginVersion=8.14

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

quarkus-sentry/deployment/src/main/java/app/fyreplace/api/sentry/processors/SentryProcessor.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package app.fyreplace.api.sentry.processors;
22

3-
import app.fyreplace.api.sentry.config.SentryConfig;
43
import app.fyreplace.api.sentry.recorders.SentryRecorder;
54
import io.quarkus.deployment.annotations.BuildStep;
65
import io.quarkus.deployment.annotations.ExecutionTime;
@@ -33,7 +32,7 @@ SystemPropertyBuildItem setContextStorageProvider() {
3332

3433
@BuildStep
3534
@Record(ExecutionTime.RUNTIME_INIT)
36-
LogHandlerBuildItem addSentryHandler(final SentryConfig config, final SentryRecorder recorder) {
37-
return new LogHandlerBuildItem(recorder.create(config));
35+
LogHandlerBuildItem addSentryHandler(final SentryRecorder recorder) {
36+
return new LogHandlerBuildItem(recorder.create());
3837
}
3938
}

quarkus-sentry/runtime/src/main/java/app/fyreplace/api/sentry/recorders/SentryRecorder.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,15 @@
1414

1515
@Recorder
1616
public class SentryRecorder {
17-
public RuntimeValue<Optional<Handler>> create(final SentryConfig sentryConfig) {
17+
private final RuntimeValue<SentryConfig> pendingSentryConfig;
18+
19+
public SentryRecorder(RuntimeValue<SentryConfig> sentryConfig) {
20+
pendingSentryConfig = sentryConfig;
21+
}
22+
23+
public RuntimeValue<Optional<Handler>> create() {
24+
final var sentryConfig = pendingSentryConfig.getValue();
25+
1826
if (sentryConfig.dsn().isEmpty()) {
1927
return new RuntimeValue<>(Optional.empty());
2028
}

src/main/resources/application.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ quarkus:
1616
dev:
1717
paths: "/dev/*"
1818
policy: "deny"
19-
cors: true
19+
cors:
20+
enabled: true
2021
limits:
2122
max-body-size: "10M"
2223
rest:
@@ -73,8 +74,8 @@ app:
7374
'%dev':
7475
quarkus:
7576
hibernate-orm:
76-
database:
77-
generation: "drop-and-create"
77+
schema-management:
78+
strategy: "drop-and-create"
7879
dev-ui:
7980
allow-hql: true
8081
liquibase:

0 commit comments

Comments
 (0)