@dvai-bridge/android-llama-core 4.0.1 → 4.1.0

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.
@@ -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.33.0'
16
+ classpath 'com.vanniktech:gradle-maven-publish-plugin:0.36.0'
17
17
  }
18
18
  }
19
19
 
@@ -154,7 +154,7 @@ mavenPublishing {
154
154
  /* publishJavadoc = */ false,
155
155
  ))
156
156
 
157
- publishToMavenCentral(com.vanniktech.maven.publish.SonatypeHost.CENTRAL_PORTAL, true)
157
+ publishToMavenCentral(true)
158
158
  // Sign only when the PGP key is configured — see shared-core for rationale.
159
159
  if (project.findProperty('signingInMemoryKey') ||
160
160
  System.getenv('ORG_GRADLE_PROJECT_signingInMemoryKey')) {
@@ -164,7 +164,7 @@ mavenPublishing {
164
164
  coordinates(
165
165
  'co.deepvoiceai',
166
166
  'android-llama-core',
167
- (project.findProperty('dvaiBridgeVersion') ?: '4.0.1').toString(),
167
+ (project.findProperty('dvaiBridgeVersion') ?: '4.1.0').toString(),
168
168
  )
169
169
 
170
170
  pom {
@@ -199,6 +199,21 @@ mavenPublishing {
199
199
  }
200
200
  }
201
201
 
202
+ // Switch Gradle signing from BouncyCastle-based in-memory mode to
203
+ // shell-out-to-gpg mode. The in-memory path can't parse GnuPG 2.4+
204
+ // keys that carry pref-aead-algos (subpkt 34) in their user-ID
205
+ // self-signature — `gpg --list-packets` of our v4.0.1 signing key
206
+ // confirms that subpacket is present. useGpgCmd() shells out to the
207
+ // local gpg binary (imported into the runner's keyring by the
208
+ // publish.yml workflow), which can parse it. Passphrase is supplied
209
+ // via ~/.gradle/gradle.properties (signing.gnupg.passphrase).
210
+ if (project.findProperty('signing.gnupg.keyName') ||
211
+ System.getenv('ORG_GRADLE_PROJECT_USE_GPG_CMD_SIGNING') == 'true') {
212
+ signing {
213
+ useGpgCmd()
214
+ }
215
+ }
216
+
202
217
  // Empty javadoc.jar to satisfy Sonatype Central Portal validation while
203
218
  // AGP 9.2.0's bundled Dokka is incompatible with our sealed-class bytecode.
204
219
  // See the `configure(AndroidSingleVariantLibrary ...)` comment above.
@@ -2,4 +2,4 @@ android.useAndroidX=true
2
2
  kotlin.code.style=official
3
3
  android.nonTransitiveRClass=true
4
4
  org.gradle.jvmargs=-Xmx4096m
5
- dvaiBridgeVersion=4.0.1
5
+ dvaiBridgeVersion=4.1.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvai-bridge/android-llama-core",
3
- "version": "4.0.1",
3
+ "version": "4.1.0",
4
4
  "description": "DVAI-Bridge Android llama.cpp core — pure Kotlin + JNI embedded HTTP server + handlers + bridge. Capacitor-free.",
5
5
  "author": "Deep Chakraborty <https://github.com/dk013>",
6
6
  "license": "Custom (See LICENSE)",