diff --git a/.github/workflows/test-android.yml b/.github/workflows/test-android.yml
index 09115b2ef..d7c0db61c 100644
--- a/.github/workflows/test-android.yml
+++ b/.github/workflows/test-android.yml
@@ -150,17 +150,34 @@ jobs:
mkdir -p ~/.config/Unreal\ Engine/UnrealBuildTool ;
cp /workspace/checkout/.github/BuildConfiguration.xml ~/.config/Unreal\ Engine/UnrealBuildTool/ "
- - name: Build Android package
- id: build-android
+ - name: Build Android package (Development)
+ id: build-android-dev
+ run: |
+ docker exec -w /workspace/checkout/sample \
+ -e TMPDIR=/home/gh/.cache/tmp \
+ unreal /home/ue4/UnrealEngine/Engine/Build/BatchFiles/RunUAT.sh BuildCookRun \
+ -project=/workspace/checkout/sample/SentryPlayground.uproject \
+ -archivedirectory=/workspace/checkout/sample/Builds \
+ -platform=Android \
+ -clientconfig=Development \
+ -nop4 \
+ -cook \
+ -iterate \
+ -build \
+ -stage \
+ -prereqs \
+ -package \
+ -archive
+
+ - name: Build Android package (Shipping)
+ id: build-android-shipping
env:
- SENTRY_UPLOAD_SYMBOLS_AUTOMATICALLY: true
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
run: |
docker exec -w /workspace/checkout/sample \
-e TMPDIR=/home/gh/.cache/tmp \
- -e SENTRY_UPLOAD_SYMBOLS_AUTOMATICALLY="$SENTRY_UPLOAD_SYMBOLS_AUTOMATICALLY" \
-e SENTRY_AUTH_TOKEN="$SENTRY_AUTH_TOKEN" \
-e SENTRY_ORG="$SENTRY_ORG" \
-e SENTRY_PROJECT="$SENTRY_PROJECT" \
@@ -168,7 +185,8 @@ jobs:
-project=/workspace/checkout/sample/SentryPlayground.uproject \
-archivedirectory=/workspace/checkout/sample/Builds \
-platform=Android \
- -clientconfig=Development \
+ -distribution \
+ -clientconfig=Shipping \
-nop4 \
-cook \
-iterate \
@@ -186,7 +204,7 @@ jobs:
key: ${{ steps.ddc-cache-key.outputs.key }}
- name: Collect build logs on failure
- if: ${{ always() && steps.build-android.outcome == 'failure' }}
+ if: ${{ always() && (steps.build-android-dev.outcome == 'failure' || steps.build-android-shipping.outcome == 'failure') }}
uses: actions/upload-artifact@v4
with:
name: UE ${{ inputs.unreal-version }} Android build logs
@@ -194,7 +212,7 @@ jobs:
checkout/sample/Saved/Logs
- name: Upload Android build
- if: ${{ success() && steps.build-android.outcome == 'success' }}
+ if: ${{ success() && (steps.build-android-dev.outcome == 'success' && steps.build-android-shipping.outcome == 'success') }}
uses: actions/upload-artifact@v4
with:
name: UE ${{ inputs.unreal-version }} sample build (Android)
diff --git a/.github/workflows/test-linux.yml b/.github/workflows/test-linux.yml
index 91dd01c35..8051ab385 100644
--- a/.github/workflows/test-linux.yml
+++ b/.github/workflows/test-linux.yml
@@ -145,13 +145,11 @@ jobs:
id: run-tests
env:
EDITOR_BINARY: ${{ inputs.unreal-version == '4.27' && 'UE4Editor' || 'UnrealEditor' }}
- SENTRY_UPLOAD_SYMBOLS_AUTOMATICALLY: true
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
run: |
docker exec -w /workspace/checkout/sample \
- -e SENTRY_UPLOAD_SYMBOLS_AUTOMATICALLY="$SENTRY_UPLOAD_SYMBOLS_AUTOMATICALLY" \
-e SENTRY_AUTH_TOKEN="$SENTRY_AUTH_TOKEN" \
-e SENTRY_ORG="$SENTRY_ORG" \
-e SENTRY_PROJECT="$SENTRY_PROJECT" \
diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml
index ae8029372..ca9d30f9c 100644
--- a/.github/workflows/test-windows.yml
+++ b/.github/workflows/test-windows.yml
@@ -82,13 +82,11 @@ jobs:
id: run-tests
env:
EDITOR_BINARY: ${{ inputs.unreal-version == '4.27' && 'UE4Editor.exe' || 'UnrealEditor.exe' }}
- SENTRY_UPLOAD_SYMBOLS_AUTOMATICALLY: true
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
run: |
docker exec `
- -e SENTRY_UPLOAD_SYMBOLS_AUTOMATICALLY="$env:SENTRY_UPLOAD_SYMBOLS_AUTOMATICALLY" `
-e SENTRY_AUTH_TOKEN="$env:SENTRY_AUTH_TOKEN" `
-e SENTRY_ORG="$env:SENTRY_ORG" `
-e SENTRY_PROJECT="$env:SENTRY_PROJECT" `
diff --git a/plugin-dev/Gradle/gradle-wrapper.properties b/plugin-dev/Gradle/gradle-wrapper.properties
index 3c472b99c..53aec7034 100644
--- a/plugin-dev/Gradle/gradle-wrapper.properties
+++ b/plugin-dev/Gradle/gradle-wrapper.properties
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-all.zip
diff --git a/plugin-dev/Source/Sentry/Sentry_Android_UPL.xml b/plugin-dev/Source/Sentry/Sentry_Android_UPL.xml
index 595c630ae..1fbb1b02e 100644
--- a/plugin-dev/Source/Sentry/Sentry_Android_UPL.xml
+++ b/plugin-dev/Source/Sentry/Sentry_Android_UPL.xml
@@ -22,21 +22,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -49,7 +34,7 @@
-
+
@@ -127,6 +112,7 @@
dependencies {
implementation fileTree(dir: 'libs', include: ['*.aar', '*.jar'])
+ implementation "com.google.protobuf:protobuf-javalite:3.25.8"
}
repositories {
diff --git a/sample/Config/DefaultEngine.ini b/sample/Config/DefaultEngine.ini
index 1e8177a5d..0adc860d8 100644
--- a/sample/Config/DefaultEngine.ini
+++ b/sample/Config/DefaultEngine.ini
@@ -233,6 +233,7 @@ bGeneratedSYMBundle=True
CrashReporterUrl="https://o447951.ingest.sentry.io/api/6253052/unreal/93c7a68867db43539980de54f09b139a/"
Dsn="https://93c7a68867db43539980de54f09b139a@o447951.ingest.sentry.io/6253052"
IncludeSources=True
+UploadSymbolsAutomatically=True
[/Script/MacTargetPlatform.XcodeProjectSettings]
BundleIdentifier=io.sentry.unreal.sample