Skip to content

Commit 3a43905

Browse files
Add support to Gradle 8+ (#1427)
1 parent 0006698 commit 3a43905

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
### Fixes
6+
7+
- Adds a namespace for compatibility with AGP 8.0. ([#1427](https://github.com/getsentry/sentry-dart/pull/1427))
8+
39
## 7.5.2
410

511
### Fixes

flutter/android/build.gradle

+5
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ apply plugin: 'kotlin-android'
2424
android {
2525
compileSdkVersion 33
2626

27+
// Conditional for compatibility with AGP <4.2.
28+
if (project.android.hasProperty("namespace")) {
29+
namespace 'io.sentry.flutter'
30+
}
31+
2732
sourceSets {
2833
main.java.srcDirs += 'src/main/kotlin'
2934
}

0 commit comments

Comments
 (0)