capacitor-plugin-playlist 0.8.6 → 0.8.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -89,6 +89,34 @@ architect => build => options:
89
89
  </application>
90
90
  ```
91
91
 
92
+ ##### Gradle Configuration (Gradle 9+)
93
+
94
+ **Important**: If you're using Gradle 9 or later, you need to ensure the Kotlin plugin is declared in your root `android/build.gradle` file. This plugin no longer includes its own `buildscript` block to avoid conflicts with Gradle 9's plugin loading requirements.
95
+
96
+ Add the Kotlin plugin to your root `android/build.gradle`:
97
+
98
+ ```gradle
99
+ buildscript {
100
+ ext.kotlin_version = '2.3.0' // Or your preferred Kotlin version
101
+
102
+ repositories {
103
+ google()
104
+ mavenCentral()
105
+ }
106
+ dependencies {
107
+ classpath 'com.android.tools.build:gradle:8.13.2'
108
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
109
+ // ... other dependencies
110
+ }
111
+ }
112
+
113
+ ext {
114
+ kotlin_version = '2.3.0' // Make it available to subprojects
115
+ }
116
+ ```
117
+
118
+ The plugin's `build.gradle` will automatically use the Kotlin plugin from the root project. If you see a warning about the Kotlin plugin being loaded multiple times, ensure you've removed any `buildscript` blocks that declare the Kotlin plugin from other subprojects (except the root project).
119
+
92
120
  ##### Glide image loading for notifiction center
93
121
 
94
122
  To be able to use glide you need to create a file MyAppGlideModule.java:
@@ -6,18 +6,6 @@ ext {
6
6
  androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.7.0'
7
7
  }
8
8
 
9
- buildscript {
10
- ext.kotlin_version = project.hasProperty("kotlin_version") ? rootProject.ext.kotlin_version : '2.2.20'
11
- repositories {
12
- google()
13
- mavenCentral()
14
- }
15
- dependencies {
16
- classpath 'com.android.tools.build:gradle:8.13.0'
17
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
18
- }
19
- }
20
-
21
9
  apply plugin: 'com.android.library'
22
10
  apply plugin: 'kotlin-android'
23
11
 
@@ -64,18 +52,18 @@ dependencies {
64
52
  testImplementation "junit:junit:$junitVersion"
65
53
  androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
66
54
  androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
67
- implementation "androidx.core:core-ktx:1.6.0"
68
- implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
55
+ implementation "androidx.core:core-ktx:1.17.0"
56
+ implementation "org.jetbrains.kotlin:kotlin-stdlib:${rootProject.ext.kotlin_version}"
69
57
 
70
58
  // Image Exomedia
71
- implementation 'com.devbrackets.android:exomedia:5.1.0'
59
+ implementation 'com.devbrackets.android:exomedia:5.2.0'
72
60
 
73
61
  // Image Loading
74
- implementation 'com.github.bumptech.glide:glide:4.16.0'
75
- annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0'
62
+ implementation 'com.github.bumptech.glide:glide:5.0.5'
63
+ annotationProcessor 'com.github.bumptech.glide:compiler:5.0.5'
76
64
 
77
65
  // Playlist support
78
66
  implementation 'com.devbrackets.android:playlistcore:2.2.0'
79
- implementation 'androidx.work:work-runtime-ktx:2.7.1'
67
+ implementation 'androidx.work:work-runtime-ktx:2.11.0'
80
68
 
81
69
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capacitor-plugin-playlist",
3
- "version": "0.8.6",
3
+ "version": "0.8.7",
4
4
  "description": "Playlist ",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",