@dvai-bridge/android-mediapipe-core 4.0.1 → 4.0.2
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 +18 -3
- package/android/gradle.properties +1 -1
- package/package.json +1 -1
package/android/build.gradle
CHANGED
|
@@ -13,7 +13,7 @@ buildscript {
|
|
|
13
13
|
// Maven Central publishing — wraps maven-publish + signing + the
|
|
14
14
|
// Central Portal upload API into one config block. See the
|
|
15
15
|
// mavenPublishing { ... } block below.
|
|
16
|
-
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.
|
|
16
|
+
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.36.0'
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -136,7 +136,7 @@ mavenPublishing {
|
|
|
136
136
|
/* publishJavadoc = */ false,
|
|
137
137
|
))
|
|
138
138
|
|
|
139
|
-
publishToMavenCentral(
|
|
139
|
+
publishToMavenCentral(true)
|
|
140
140
|
// Sign only when the PGP key is configured — see shared-core for rationale.
|
|
141
141
|
if (project.findProperty('signingInMemoryKey') ||
|
|
142
142
|
System.getenv('ORG_GRADLE_PROJECT_signingInMemoryKey')) {
|
|
@@ -146,7 +146,7 @@ mavenPublishing {
|
|
|
146
146
|
coordinates(
|
|
147
147
|
'co.deepvoiceai',
|
|
148
148
|
'android-mediapipe-core',
|
|
149
|
-
(project.findProperty('dvaiBridgeVersion') ?: '4.0.
|
|
149
|
+
(project.findProperty('dvaiBridgeVersion') ?: '4.0.2').toString(),
|
|
150
150
|
)
|
|
151
151
|
|
|
152
152
|
pom {
|
|
@@ -182,6 +182,21 @@ mavenPublishing {
|
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
+
// Switch Gradle signing from BouncyCastle-based in-memory mode to
|
|
186
|
+
// shell-out-to-gpg mode. The in-memory path can't parse GnuPG 2.4+
|
|
187
|
+
// keys that carry pref-aead-algos (subpkt 34) in their user-ID
|
|
188
|
+
// self-signature — `gpg --list-packets` of our v4.0.1 signing key
|
|
189
|
+
// confirms that subpacket is present. useGpgCmd() shells out to the
|
|
190
|
+
// local gpg binary (imported into the runner's keyring by the
|
|
191
|
+
// publish.yml workflow), which can parse it. Passphrase is supplied
|
|
192
|
+
// via ~/.gradle/gradle.properties (signing.gnupg.passphrase).
|
|
193
|
+
if (project.findProperty('signing.gnupg.keyName') ||
|
|
194
|
+
System.getenv('ORG_GRADLE_PROJECT_USE_GPG_CMD_SIGNING') == 'true') {
|
|
195
|
+
signing {
|
|
196
|
+
useGpgCmd()
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
185
200
|
// Empty javadoc.jar to satisfy Sonatype Central Portal validation while
|
|
186
201
|
// AGP 9.2.0's bundled Dokka is incompatible with our sealed-class bytecode.
|
|
187
202
|
// See the `configure(AndroidSingleVariantLibrary ...)` comment above.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dvai-bridge/android-mediapipe-core",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"description": "DVAI-Bridge Android MediaPipe LLM core — pure Kotlin embedded HTTP server + handlers wrapping the MediaPipe LLM Inference API. Capacitor-free.",
|
|
5
5
|
"author": "Deep Chakraborty <https://github.com/dk013>",
|
|
6
6
|
"license": "Custom (See LICENSE)",
|