Skip to content

Commit

Permalink
Add support to Gradle 8+ (#1427)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmartos96 authored May 10, 2023
1 parent 0006698 commit 3a43905
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## Unreleased

### Fixes

- Adds a namespace for compatibility with AGP 8.0. ([#1427](https://github.com/getsentry/sentry-dart/pull/1427))

## 7.5.2

### Fixes
Expand Down
5 changes: 5 additions & 0 deletions flutter/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ apply plugin: 'kotlin-android'
android {
compileSdkVersion 33

// Conditional for compatibility with AGP <4.2.
if (project.android.hasProperty("namespace")) {
namespace 'io.sentry.flutter'
}

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
Expand Down

0 comments on commit 3a43905

Please sign in to comment.