@dewakoding/capacitor-mock-location 1.1.0 → 1.1.1
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/android/build.gradle +15 -1
- package/package.json +1 -1
package/android/build.gradle
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
// Buildscript block to ensure Kotlin plugin is available
|
|
2
|
+
// This makes the plugin self-contained and doesn't require users to add
|
|
3
|
+
// kotlin-gradle-plugin to their root build.gradle
|
|
4
|
+
buildscript {
|
|
5
|
+
repositories {
|
|
6
|
+
google()
|
|
7
|
+
mavenCentral()
|
|
8
|
+
}
|
|
9
|
+
dependencies {
|
|
10
|
+
// Add Kotlin Gradle plugin to classpath
|
|
11
|
+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.2.20"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
1
15
|
apply plugin: 'com.android.library'
|
|
2
16
|
apply plugin: 'kotlin-android'
|
|
3
17
|
|
|
@@ -26,6 +40,6 @@ repositories {
|
|
|
26
40
|
|
|
27
41
|
dependencies {
|
|
28
42
|
implementation project(':capacitor-android')
|
|
29
|
-
implementation "org.jetbrains.kotlin:kotlin-stdlib:
|
|
43
|
+
implementation "org.jetbrains.kotlin:kotlin-stdlib:2.2.20"
|
|
30
44
|
}
|
|
31
45
|
|
package/package.json
CHANGED