@dvai-bridge/android-litert-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
|
@@ -54,7 +54,7 @@ buildscript {
|
|
|
54
54
|
// Maven Central publishing — wraps maven-publish + signing + the
|
|
55
55
|
// Central Portal upload API into one config block. See the
|
|
56
56
|
// mavenPublishing { ... } block below.
|
|
57
|
-
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.
|
|
57
|
+
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.36.0'
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
|
|
@@ -182,7 +182,7 @@ mavenPublishing {
|
|
|
182
182
|
/* publishJavadoc = */ false,
|
|
183
183
|
))
|
|
184
184
|
|
|
185
|
-
publishToMavenCentral(
|
|
185
|
+
publishToMavenCentral(true)
|
|
186
186
|
// Sign only when the PGP key is configured — see shared-core for rationale.
|
|
187
187
|
if (project.findProperty('signingInMemoryKey') ||
|
|
188
188
|
System.getenv('ORG_GRADLE_PROJECT_signingInMemoryKey')) {
|
|
@@ -192,7 +192,7 @@ mavenPublishing {
|
|
|
192
192
|
coordinates(
|
|
193
193
|
'co.deepvoiceai',
|
|
194
194
|
'android-litert-core',
|
|
195
|
-
(project.findProperty('dvaiBridgeVersion') ?: '4.0.
|
|
195
|
+
(project.findProperty('dvaiBridgeVersion') ?: '4.0.2').toString(),
|
|
196
196
|
)
|
|
197
197
|
|
|
198
198
|
pom {
|
|
@@ -229,6 +229,21 @@ mavenPublishing {
|
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
|
|
232
|
+
// Switch Gradle signing from BouncyCastle-based in-memory mode to
|
|
233
|
+
// shell-out-to-gpg mode. The in-memory path can't parse GnuPG 2.4+
|
|
234
|
+
// keys that carry pref-aead-algos (subpkt 34) in their user-ID
|
|
235
|
+
// self-signature — `gpg --list-packets` of our v4.0.1 signing key
|
|
236
|
+
// confirms that subpacket is present. useGpgCmd() shells out to the
|
|
237
|
+
// local gpg binary (imported into the runner's keyring by the
|
|
238
|
+
// publish.yml workflow), which can parse it. Passphrase is supplied
|
|
239
|
+
// via ~/.gradle/gradle.properties (signing.gnupg.passphrase).
|
|
240
|
+
if (project.findProperty('signing.gnupg.keyName') ||
|
|
241
|
+
System.getenv('ORG_GRADLE_PROJECT_USE_GPG_CMD_SIGNING') == 'true') {
|
|
242
|
+
signing {
|
|
243
|
+
useGpgCmd()
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
|
|
232
247
|
// Empty javadoc.jar to satisfy Sonatype Central Portal validation while
|
|
233
248
|
// AGP 9.2.0's bundled Dokka is incompatible with our sealed-class bytecode.
|
|
234
249
|
// See the `configure(AndroidSingleVariantLibrary ...)` comment above.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dvai-bridge/android-litert-core",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"description": "DVAI-Bridge Android LiteRT core — wraps Google's LiteRT (TFLite) runtime with HuggingFace tokenizers, exposes the OpenAI-compatible HTTP surface via android-shared-core. Capacitor-free.",
|
|
5
5
|
"author": "Deep Chakraborty <https://github.com/dk013>",
|
|
6
6
|
"license": "Custom (See LICENSE)",
|