Skip to content

Conversation

felixblz
Copy link
Contributor

@felixblz felixblz commented Aug 6, 2025

Description

This pull request updates the Android build system and dependencies for the Capacitor plugin, focusing on compatibility with newer versions of Gradle, Android SDK, and related libraries. It also updates the Gradle wrapper scripts for improved reliability and licensing clarity.

Build System & SDK Updates

  • Upgraded Gradle wrapper to version 9.0.0 and updated the Gradle plugin to 8.9.3 for improved build performance and compatibility (gradle-wrapper.properties, build.gradle). [1] [2]
  • Updated Android SDK versions: compileSdk and targetSdkVersion are now set to 36, using the new syntax for namespace and SDK declarations in build.gradle.

Dependency Updates

  • Updated dependencies: gson to 2.13.1 and kotlinx-coroutines-play-services to 1.9.0 for security and compatibility improvements (build.gradle).
  • Bumped @capacitor/synapse dependency to version 1.0.4 in package.json.

Context

Security fixes and better compatibility;

Type of changes

  • Fix (non-breaking change which fixes an issue)
  • Feature (non-breaking change which adds functionality)
  • Refactor (cosmetic changes)
  • Breaking change (change that would cause existing functionality to not work as expected)

Platforms affected

  • Android
  • iOS
  • JavaScript

Tests

build and tests were successful

Breaking changes

because compiling with android SDK 36, the app using the plugin needs higher minimum versions for gradle and agp:

  • agp >= 8.9.1
  • gradle >= 8.5

@felixblz felixblz marked this pull request as ready for review August 6, 2025 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant