Skip to content

Commit 6ce0774

Browse files
committed
hotfix: Add description to Maven Central package
1 parent 7a1e6aa commit 6ce0774

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

build.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,9 @@ publishing {
147147

148148
pom {
149149
name.set('drone-collision-avoidance')
150-
description.set('')
150+
description.set('This library provides a secure drone collision avoidance system using homomorphic encryption. ' +
151+
'It uses encrypted GPS coordinates to compute paths and avoid collisions without revealing sensitive location data. ' +
152+
'For now, to avoid collision, a drone changes altitude to avoid collision with another drone as it knows the path segment of collision')
151153
url.set('https://github.com/adwise-fiu/homomorphic-path-comparison')
152154

153155
licenses {
@@ -196,7 +198,7 @@ signing {
196198
// Point to the key file on your machine, used for local testing
197199
def signingKeyFile = findProperty("signingKeyFile") ?: System.getenv("SIGNING_KEY_FILE")
198200
// gpg --armor --export-secret-keys YOUR_KEY_ID, export the key into a secret
199-
def signingKey = findProperty("signingKey") ?: System.getenv("SIGNING_KEY")
201+
def signingKey = findProperty("signingKey") ?: System.getenv("SIGNING_KEY") ?: ""
200202
// If no property or environment variable is found, it will be empty password
201203
def signingPassword = findProperty("signingPassword") ?: System.getenv("SIGNING_PASSWORD") ?: ""
202204

@@ -211,6 +213,7 @@ signing {
211213
else {
212214
println("No signing key file found, will attempt to use in-memory key")
213215
if (signingKey) {
216+
println("Using in-memory signing key")
214217
useInMemoryPgpKeys(signingKey.toString(), signingPassword?.toString())
215218
publishing.publications.named("mavenJava").configure { publication ->
216219
signing.sign(publication)

0 commit comments

Comments
 (0)