@dvai-bridge/android-shared-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.
@@ -22,7 +22,7 @@ buildscript {
22
22
  // Maven Central publishing — wraps maven-publish + signing + the
23
23
  // Central Portal upload API into one config block. See the
24
24
  // mavenPublishing { ... } block below.
25
- classpath 'com.vanniktech:gradle-maven-publish-plugin:0.33.0'
25
+ classpath 'com.vanniktech:gradle-maven-publish-plugin:0.36.0'
26
26
  }
27
27
  }
28
28
 
@@ -128,7 +128,7 @@ dependencies {
128
128
  // validation passing) or `publishToMavenLocal` for a dry-run that
129
129
  // writes the artifacts + signatures to ~/.m2/repository/.
130
130
  mavenPublishing {
131
- publishToMavenCentral(com.vanniktech.maven.publish.SonatypeHost.CENTRAL_PORTAL, true)
131
+ publishToMavenCentral(true)
132
132
  // Only sign when the PGP key is actually configured — in CI we run
133
133
  // `publishToMavenLocal` to verify the build, and the signing key
134
134
  // isn't available there. The real Sonatype publish is driven from
@@ -142,7 +142,7 @@ mavenPublishing {
142
142
  coordinates(
143
143
  'co.deepvoiceai',
144
144
  'android-shared-core',
145
- (project.findProperty('dvaiBridgeVersion') ?: '4.0.1').toString(),
145
+ (project.findProperty('dvaiBridgeVersion') ?: '4.0.2').toString(),
146
146
  )
147
147
 
148
148
  pom {
@@ -175,3 +175,18 @@ mavenPublishing {
175
175
  }
176
176
  }
177
177
  }
178
+
179
+ // Switch Gradle signing from BouncyCastle-based in-memory mode to
180
+ // shell-out-to-gpg mode. The in-memory path can't parse GnuPG 2.4+
181
+ // keys that carry pref-aead-algos (subpkt 34) in their user-ID
182
+ // self-signature — `gpg --list-packets` of our v4.0.1 signing key
183
+ // confirms that subpacket is present. useGpgCmd() shells out to the
184
+ // local gpg binary (imported into the runner's keyring by the
185
+ // publish.yml workflow), which can parse it. Passphrase is supplied
186
+ // via ~/.gradle/gradle.properties (signing.gnupg.passphrase).
187
+ if (project.findProperty('signing.gnupg.keyName') ||
188
+ System.getenv('ORG_GRADLE_PROJECT_USE_GPG_CMD_SIGNING') == 'true') {
189
+ signing {
190
+ useGpgCmd()
191
+ }
192
+ }
@@ -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.0.2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvai-bridge/android-shared-core",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "description": "DVAI-Bridge Android shared core — Ktor HTTP server + handler dispatch + CORS config shared by every Android backend module (llama / mediapipe / litert).",
5
5
  "author": "Deep Chakraborty <https://github.com/dk013>",
6
6
  "license": "Custom (See LICENSE)",