Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Add the dependency to your `build.gradle.kts`:

```kotlin
dependencies {
implementation("xyz.atheon:verity:0.3.0")
implementation("xyz.atheon:verity:0.0.2")
}
```

Expand Down
44 changes: 43 additions & 1 deletion sdks/kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ plugins {
id("com.android.library") version "8.5.0"
id("org.jetbrains.kotlin.android") version "1.9.24"
id("maven-publish")
signing
id("com.gradleup.nmcp") version "1.4.4"
}

val publishedAbis = listOf("arm64-v8a")
Expand Down Expand Up @@ -63,11 +65,51 @@ publishing {
create<MavenPublication>("release") {
groupId = "xyz.atheon"
artifactId = "verity"
version = file("../../VERSION").readText().trim()
version = "0.0.2"

afterEvaluate {
from(components["release"])
}

pom {
name.set("Verity")
description.set("Zero-knowledge proof SDK for Android — ProveKit and Barretenberg backends")
url.set("https://github.com/atheonxyz/verity")

licenses {
license {
name.set("Proprietary")
url.set("https://github.com/atheonxyz/verity")
}
}

developers {
developer {
id.set("atheon")
name.set("Atheon")
email.set("rose@atheon.xyz")
}
}

scm {
connection.set("scm:git:git://github.com/atheonxyz/verity.git")
developerConnection.set("scm:git:ssh://github.com/atheonxyz/verity.git")
url.set("https://github.com/atheonxyz/verity")
}
}
}
}

}

signing {
useGpgCmd()
sign(publishing.publications["release"])
}

nmcp {
publishAllPublicationsToCentralPortal {
username.set(findProperty("mavenCentralUsername") as String? ?: "")
password.set(findProperty("mavenCentralPassword") as String? ?: "")
}
}
Loading