Skip to content

Commit

Permalink
Add namespace to build.gradle
Browse files Browse the repository at this point in the history
Fixes #84

Follows changes from:
 * flutter/packages@6284c2d
 * flutter/packages@a86beaf
  • Loading branch information
jonasfj committed Feb 22, 2024
1 parent 5e6d20f commit 1937f11
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
5 changes: 5 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1937f11

Please sign in to comment.