@dvai-bridge/android 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 +30 -6
- package/android/gradle.properties +1 -1
- package/package.json +1 -1
package/android/build.gradle
CHANGED
|
@@ -20,7 +20,7 @@ buildscript {
|
|
|
20
20
|
// Maven Central publishing — wraps maven-publish + signing + the
|
|
21
21
|
// Central Portal upload API into one config block. See the
|
|
22
22
|
// mavenPublishing { ... } block below.
|
|
23
|
-
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.
|
|
23
|
+
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.36.0'
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -167,7 +167,7 @@ mavenPublishing {
|
|
|
167
167
|
/* publishJavadoc = */ false,
|
|
168
168
|
))
|
|
169
169
|
|
|
170
|
-
publishToMavenCentral(
|
|
170
|
+
publishToMavenCentral(true)
|
|
171
171
|
// Sign only when the PGP key is configured — see shared-core for rationale.
|
|
172
172
|
if (project.findProperty('signingInMemoryKey') ||
|
|
173
173
|
System.getenv('ORG_GRADLE_PROJECT_signingInMemoryKey')) {
|
|
@@ -177,16 +177,25 @@ mavenPublishing {
|
|
|
177
177
|
coordinates(
|
|
178
178
|
'co.deepvoiceai',
|
|
179
179
|
'dvai-bridge',
|
|
180
|
-
(project.findProperty('dvaiBridgeVersion') ?: '4.0.
|
|
180
|
+
(project.findProperty('dvaiBridgeVersion') ?: '4.0.2').toString(),
|
|
181
181
|
)
|
|
182
182
|
|
|
183
183
|
pom {
|
|
184
184
|
name = 'DVAI Bridge Android'
|
|
185
|
-
description = 'DVAI Bridge Android SDK —
|
|
186
|
-
'
|
|
185
|
+
description = 'DVAI Bridge Android SDK — embeds an OpenAI-compatible HTTP server ' +
|
|
186
|
+
'inside your Android app process (127.0.0.1:38883, /v1/chat/completions, ' +
|
|
187
|
+
'/v1/embeddings, /v1/models, SSE streaming). Any OpenAI client speaks to it ' +
|
|
188
|
+
'(LangChain, autogen, crewai, the OpenAI SDK). ' +
|
|
189
|
+
'Single 8-method Kotlin API surface fronting llama.cpp, MediaPipe / LiteRT-LM ' +
|
|
190
|
+
'and bare-LiteRT backends; engine selected at runtime by device capability. ' +
|
|
191
|
+
'Same OpenAI wire as the dvai-bridge family on iOS (CocoaPods), Flutter (pub.dev), ' +
|
|
192
|
+
'React Native + Capacitor + browser + Node (npm), and .NET MAUI (NuGet) — ' +
|
|
193
|
+
'cross-platform agentic apps stop being a per-platform porting exercise. ' +
|
|
187
194
|
'Mirrors the iOS DVAIBridge SDK; pulls in the four cores ' +
|
|
188
195
|
'(android-shared-core / android-llama-core / android-mediapipe-core / ' +
|
|
189
|
-
'android-litert-core) transitively.'
|
|
196
|
+
'android-litert-core) transitively. Unlike Ollama / LM Studio / llama-server ' +
|
|
197
|
+
'which the end user installs, this library ships INSIDE your app. ' +
|
|
198
|
+
'Docs + architecture: https://bridge.deepvoiceai.co'
|
|
190
199
|
inceptionYear = '2026'
|
|
191
200
|
url = 'https://github.com/dvai-global/dvai-bridge'
|
|
192
201
|
|
|
@@ -214,6 +223,21 @@ mavenPublishing {
|
|
|
214
223
|
}
|
|
215
224
|
}
|
|
216
225
|
|
|
226
|
+
// Switch Gradle signing from BouncyCastle-based in-memory mode to
|
|
227
|
+
// shell-out-to-gpg mode. The in-memory path can't parse GnuPG 2.4+
|
|
228
|
+
// keys that carry pref-aead-algos (subpkt 34) in their user-ID
|
|
229
|
+
// self-signature — `gpg --list-packets` of our v4.0.1 signing key
|
|
230
|
+
// confirms that subpacket is present. useGpgCmd() shells out to the
|
|
231
|
+
// local gpg binary (imported into the runner's keyring by the
|
|
232
|
+
// publish.yml workflow), which can parse it. Passphrase is supplied
|
|
233
|
+
// via ~/.gradle/gradle.properties (signing.gnupg.passphrase).
|
|
234
|
+
if (project.findProperty('signing.gnupg.keyName') ||
|
|
235
|
+
System.getenv('ORG_GRADLE_PROJECT_USE_GPG_CMD_SIGNING') == 'true') {
|
|
236
|
+
signing {
|
|
237
|
+
useGpgCmd()
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
|
|
217
241
|
// Empty javadoc.jar to satisfy Sonatype Central Portal validation while
|
|
218
242
|
// AGP 9.2.0's bundled Dokka is incompatible with our sealed-class bytecode.
|
|
219
243
|
// See the `configure(AndroidSingleVariantLibrary ...)` comment above.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dvai-bridge/android",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"description": "DVAI-Bridge Android native SDK — embedded local OpenAI-compatible HTTP server with llama.cpp + MediaPipe (LiteRT-LM) + LiteRT backends. Capacitor-free, pure Kotlin singleton API.",
|
|
5
5
|
"author": "Deep Chakraborty <https://github.com/dk013>",
|
|
6
6
|
"license": "Custom (See LICENSE)",
|