metamap-capacitor-plugin 4.9.5 → 4.9.6
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 +97 -67
- package/android/settings.gradle +24 -0
- package/package.json +1 -1
package/android/build.gradle
CHANGED
|
@@ -1,88 +1,118 @@
|
|
|
1
|
-
ext {
|
|
2
|
-
junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.1'
|
|
3
|
-
androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.6.1'
|
|
4
|
-
androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.5'
|
|
5
|
-
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.5.1'
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
buildscript {
|
|
9
|
-
repositories {
|
|
10
|
-
google()
|
|
11
|
-
mavenCentral()
|
|
12
|
-
maven { url "https://jitpack.io" }
|
|
13
|
-
}
|
|
14
|
-
dependencies {
|
|
15
|
-
classpath 'com.android.tools.build:gradle:8.3.0'
|
|
16
|
-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.0"
|
|
17
|
-
}
|
|
18
|
-
}
|
|
1
|
+
//ext {
|
|
2
|
+
// junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.1'
|
|
3
|
+
// androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.6.1'
|
|
4
|
+
// androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.5'
|
|
5
|
+
// androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.5.1'
|
|
6
|
+
//}
|
|
7
|
+
//
|
|
8
|
+
//buildscript {
|
|
9
|
+
// repositories {
|
|
10
|
+
// google()
|
|
11
|
+
// mavenCentral()
|
|
12
|
+
// maven { url "https://jitpack.io" }
|
|
13
|
+
// }
|
|
14
|
+
// dependencies {
|
|
15
|
+
// classpath 'com.android.tools.build:gradle:8.3.0'
|
|
16
|
+
// classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.0"
|
|
17
|
+
// }
|
|
18
|
+
//}
|
|
19
|
+
//
|
|
20
|
+
//apply plugin: 'com.android.library'
|
|
21
|
+
//
|
|
22
|
+
//android {
|
|
23
|
+
// namespace "com.getmati.plugins.capacitor"
|
|
24
|
+
// compileSdkVersion 34
|
|
25
|
+
// defaultConfig {
|
|
26
|
+
// minSdkVersion 22
|
|
27
|
+
// targetSdkVersion 33
|
|
28
|
+
// versionCode 1
|
|
29
|
+
// versionName "1.0"
|
|
30
|
+
// testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
31
|
+
// }
|
|
32
|
+
// buildTypes {
|
|
33
|
+
// release {
|
|
34
|
+
// minifyEnabled false
|
|
35
|
+
// proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
36
|
+
// }
|
|
37
|
+
// }
|
|
38
|
+
// lintOptions {
|
|
39
|
+
// abortOnError false
|
|
40
|
+
// }
|
|
41
|
+
// compileOptions {
|
|
42
|
+
// sourceCompatibility JavaVersion.VERSION_11
|
|
43
|
+
// targetCompatibility JavaVersion.VERSION_11
|
|
44
|
+
// }
|
|
45
|
+
//}
|
|
46
|
+
//
|
|
47
|
+
//repositories {
|
|
48
|
+
// google()
|
|
49
|
+
// mavenCentral()
|
|
50
|
+
// maven { url "https://jitpack.io" }
|
|
51
|
+
//}
|
|
52
|
+
//
|
|
53
|
+
//
|
|
54
|
+
//dependencies {
|
|
55
|
+
// implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
56
|
+
// implementation project(':capacitor-android')
|
|
57
|
+
// implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
|
|
58
|
+
// implementation ('com.metamap:android-sdk:3.42.16') {
|
|
59
|
+
// exclude group: "com.airbnb.android", module: "lottie-compose"
|
|
60
|
+
// exclude group: "org.jetbrains.compose.runtime", module: "runtime-android"
|
|
61
|
+
// exclude group: "org.jetbrains.compose.runtime", module: "runtime-desktop"
|
|
62
|
+
// }
|
|
63
|
+
//}
|
|
64
|
+
//
|
|
65
|
+
//
|
|
66
|
+
//
|
|
67
|
+
//
|
|
68
|
+
//
|
|
69
|
+
//
|
|
70
|
+
//
|
|
71
|
+
//
|
|
72
|
+
//
|
|
73
|
+
//
|
|
74
|
+
//
|
|
75
|
+
//
|
|
76
|
+
//
|
|
77
|
+
//
|
|
78
|
+
//
|
|
79
|
+
//
|
|
80
|
+
//
|
|
81
|
+
//
|
|
82
|
+
//
|
|
83
|
+
//
|
|
84
|
+
//
|
|
85
|
+
//
|
|
19
86
|
|
|
20
87
|
apply plugin: 'com.android.library'
|
|
21
88
|
|
|
22
|
-
def pluginCompileSdk = rootProject.ext.has('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
|
|
23
|
-
def pluginTargetSdk = rootProject.ext.has('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 35
|
|
24
|
-
|
|
25
89
|
android {
|
|
26
90
|
namespace "com.getmati.plugins.capacitor"
|
|
27
|
-
|
|
91
|
+
|
|
92
|
+
compileSdk 35
|
|
93
|
+
|
|
28
94
|
defaultConfig {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
versionCode 1
|
|
32
|
-
versionName "1.0"
|
|
33
|
-
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
34
|
-
}
|
|
35
|
-
buildTypes {
|
|
36
|
-
release {
|
|
37
|
-
minifyEnabled false
|
|
38
|
-
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
lintOptions {
|
|
42
|
-
abortOnError false
|
|
95
|
+
minSdk 22
|
|
96
|
+
targetSdk 35
|
|
43
97
|
}
|
|
98
|
+
|
|
44
99
|
compileOptions {
|
|
45
100
|
sourceCompatibility JavaVersion.VERSION_17
|
|
46
101
|
targetCompatibility JavaVersion.VERSION_17
|
|
47
102
|
}
|
|
48
|
-
}
|
|
49
103
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
maven { url "https://jitpack.io" }
|
|
104
|
+
kotlinOptions {
|
|
105
|
+
jvmTarget = "17"
|
|
106
|
+
}
|
|
54
107
|
}
|
|
55
108
|
|
|
56
|
-
|
|
57
109
|
dependencies {
|
|
58
|
-
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
59
110
|
implementation project(':capacitor-android')
|
|
60
|
-
implementation "androidx.appcompat:appcompat
|
|
61
|
-
|
|
111
|
+
implementation "androidx.appcompat:appcompat:1.6.1"
|
|
112
|
+
|
|
113
|
+
implementation('com.metamap:android-sdk:3.42.16') {
|
|
62
114
|
exclude group: "com.airbnb.android", module: "lottie-compose"
|
|
63
115
|
exclude group: "org.jetbrains.compose.runtime", module: "runtime-android"
|
|
64
116
|
exclude group: "org.jetbrains.compose.runtime", module: "runtime-desktop"
|
|
65
117
|
}
|
|
66
118
|
}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
package/android/settings.gradle
CHANGED
|
@@ -1,2 +1,26 @@
|
|
|
1
|
+
//include ':capacitor-android'
|
|
2
|
+
//project(':capacitor-android').projectDir = new File('../node_modules/@capacitor/android/capacitor')
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
pluginManagement {
|
|
6
|
+
repositories {
|
|
7
|
+
google()
|
|
8
|
+
mavenCentral()
|
|
9
|
+
gradlePluginPortal()
|
|
10
|
+
maven { url "https://jitpack.io" }
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
dependencyResolutionManagement {
|
|
15
|
+
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
|
|
16
|
+
repositories {
|
|
17
|
+
google()
|
|
18
|
+
mavenCentral()
|
|
19
|
+
maven { url "https://jitpack.io" }
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
rootProject.name = "your-project-name"
|
|
24
|
+
|
|
1
25
|
include ':capacitor-android'
|
|
2
26
|
project(':capacitor-android').projectDir = new File('../node_modules/@capacitor/android/capacitor')
|