diff --git a/CHANGELOG.md b/CHANGELOG.md index 73e473c3..42288fb4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# 0.5.5 +* Adds a namespace in `build.gradle` for compatibility with AGP 8.0. + # 0.5.4 * Added MacOS desktop support. * Added Windows desktop support. diff --git a/android/build.gradle b/android/build.gradle index 0322c90c..f28ee5fb 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -25,6 +25,11 @@ apply plugin: 'com.android.library' apply plugin: 'kotlin-android' android { + // Conditional for compatibility with AGP <4.2. + if (project.android.hasProperty("namespace")) { + namespace 'dev.google.webcrypto' + } + compileSdkVersion 31 // We depend on cmake for the native parts. diff --git a/pubspec.yaml b/pubspec.yaml index 8a5802e6..21ebc9ef 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -13,7 +13,7 @@ # limitations under the License. name: webcrypto -version: 0.5.4 +version: 0.5.5 description: Cross-platform implementation of Web Cryptography APIs for Flutter. repository: https://github.com/google/webcrypto.dart