Skip to content

Commit 45b3a8a

Browse files
Merge branch 'release/0.10.0'
2 parents 3785fc6 + 840fe00 commit 45b3a8a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+130
-317
lines changed

.env-example

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ [email protected]
1313
1414
QUARKUS_MAILER_PASSWORD=password
1515

16-
QUARKUS_SENTRY_DSN=https://sentry.example.org
17-
QUARKUS_SENTRY_ENVIRONMENT=local
18-
QUARKUS_SENTRY_TRACES_SAMPLE_RATE=1.0
16+
QUARKUS_LOG_SENTRY_ENABLED=true
17+
QUARKUS_LOG_SENTRY_DSN=https://sentry.example.org
18+
QUARKUS_LOG_SENTRY_ENVIRONMENT=local
19+
QUARKUS_LOG_SENTRY_TRACES_SAMPLE_RATE=1.0
1920

2021
MP_JWT_VERIFY_PUBLICKEY=public-key-content
2122
SMALLRYE_JWT_SIGN_KEY=private-key-content

build.gradle

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,20 @@
1+
import javax.inject.Inject
2+
13
plugins {
24
id "java"
35
id "io.quarkus"
46
id "com.diffplug.spotless" version "${spotlessPluginVersion}"
57
id "io.freefair.lombok" version "${lombokPluginVersion}"
68
}
79

10+
interface ExecOperationsProvider {
11+
@Inject
12+
ExecOperations getExecOperations()
13+
}
14+
815
def gitVersion() {
916
def stdout = new ByteArrayOutputStream()
10-
exec {
17+
project.objects.newInstance(ExecOperationsProvider).execOperations.exec {
1118
commandLine "git", "describe", "--tags", "--always", "--dirty"
1219
standardOutput = stdout
1320
}
@@ -47,13 +54,13 @@ dependencies {
4754
implementation("io.quarkus:quarkus-smallrye-jwt-build")
4855
implementation("io.quarkus:quarkus-smallrye-openapi")
4956
implementation("io.quarkiverse.amazonservices:quarkus-amazon-s3")
57+
implementation("io.quarkiverse.loggingsentry:quarkus-logging-sentry:${quarkusLoggingSentry}")
58+
implementation("io.quarkiverse.opentelemetry.exporter:quarkus-opentelemetry-exporter-sentry:${quarkusOtelExporter}")
5059
implementation("io.sentry:sentry-jul")
5160
implementation("javaxt:javaxt-core:${javaXtVersion}")
5261
implementation("software.amazon.awssdk:url-connection-client")
5362
implementation("software.amazon.awssdk.crt:aws-crt")
5463
implementation("com.twelvemonkeys.imageio:imageio-webp:${twelveMonkeysVersion}")
55-
implementation(project(":quarkus-sentry:deployment"))
56-
implementation(project(":quarkus-sentry:runtime"))
5764
testImplementation("io.quarkus:quarkus-junit5")
5865
testImplementation("io.quarkus:quarkus-test-h2")
5966
testImplementation("io.quarkus:quarkus-test-security")

gradle.properties

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
org.gradle.jvmargs=-Xmx1024M
2-
quarkusPlatformVersion=3.16.3
3-
quarkusPluginVersion=3.16.3
4-
sentryVersion=7.17.0
5-
javaXtVersion=2.1.9
2+
quarkusPlatformVersion=3.21.4
3+
quarkusPluginVersion=3.21.4
4+
quarkusLoggingSentry=2.1.3
5+
quarkusOtelExporter=3.18.3.1
6+
sentryVersion=8.10.0
7+
javaXtVersion=2.1.11
68
twelveMonkeysVersion=3.12.0
7-
spotlessPluginVersion=6.25.0
8-
lombokPluginVersion=8.11
9+
spotlessPluginVersion=7.0.3
10+
lombokPluginVersion=8.13.1

gradle/wrapper/gradle-wrapper.jar

181 Bytes
Binary file not shown.

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.11-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ done
8686
# shellcheck disable=SC2034
8787
APP_BASE_NAME=${0##*/}
8888
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89-
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90-
' "$PWD" ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
9190

9291
# Use the maximum available, or set MAX_FD != -1 to use that value.
9392
MAX_FD=maximum
@@ -115,7 +114,7 @@ case "$( uname )" in #(
115114
NONSTOP* ) nonstop=true ;;
116115
esac
117116

118-
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
117+
CLASSPATH="\\\"\\\""
119118

120119

121120
# Determine the Java command to use to start the JVM.
@@ -206,15 +205,15 @@ fi
206205
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
207206

208207
# Collect all arguments for the java command:
209-
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
208+
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
210209
# and any embedded shellness will be escaped.
211210
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
212211
# treated as '${Hostname}' itself on the command line.
213212

214213
set -- \
215214
"-Dorg.gradle.appname=$APP_BASE_NAME" \
216215
-classpath "$CLASSPATH" \
217-
org.gradle.wrapper.GradleWrapperMain \
216+
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
218217
"$@"
219218

220219
# Stop when "xargs" is not available.

gradlew.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ goto fail
7070
:execute
7171
@rem Setup the command line
7272

73-
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73+
set CLASSPATH=
7474

7575

7676
@rem Execute Gradle
77-
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
77+
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
7878

7979
:end
8080
@rem End local scope for the variables with windows NT shell

quarkus-sentry/build.gradle

Lines changed: 0 additions & 15 deletions
This file was deleted.

quarkus-sentry/deployment/build.gradle

Lines changed: 0 additions & 14 deletions
This file was deleted.

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

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)