Renaming package for publishing. Still using mavenLocal

This commit is contained in:
fekt
2022-12-11 10:29:38 -05:00
parent 2ef1b5dcd8
commit 1dd0aeacea

View File

@@ -23,14 +23,14 @@ plugins {
// Publishing information // Publishing information
val isSnapshot = project.property("IS_SNAPSHOT").toString().toBoolean() val isSnapshot = project.property("IS_SNAPSHOT").toString().toBoolean()
val version = project.property("LIBRARY_VERSION").toString() val version = project.property("LIBRARY_VERSION").toString()
project.group = "cash.z.ecc.android" project.group = "hush.android"
project.version = if (isSnapshot) { project.version = if (isSnapshot) {
"$version-SNAPSHOT" "$version-SNAPSHOT"
} else { } else {
version version
} }
val myArtifactId = "zcash-android-sdk" val myArtifactId = "hush-android-sdk"
publishing { publishing {
publications { publications {
@@ -116,27 +116,27 @@ mavenPublishing {
signAllPublications() signAllPublications()
pom { pom {
name.set("Zcash Android Wallet SDK") name.set("Hush Android Wallet SDK")
description.set("This lightweight SDK connects Android to Zcash, allowing third-party Android " + description.set("This lightweight SDK connects Android to Hush, allowing third-party Android " +
"apps to send and receive shielded transactions easily, securely and privately.") "apps to send and receive shielded transactions easily, securely and privately.")
url.set("https://github.com/zcash/zcash-android-wallet-sdk/") url.set("https://git.hush.is/hush/hush-android-wallet-sdk")
inceptionYear.set("2018") inceptionYear.set("2022")
scm { scm {
url.set("https://github.com/zcash/zcash-android-wallet-sdk/") url.set("https://git.hush.is/hush/hush-android-wallet-sdk")
connection.set("scm:git:git://github.com/zcash/zcash-android-wallet-sdk.git") connection.set("scm:git:git://git.hush.is/hush/hush-android-wallet-sdk.git")
developerConnection.set("scm:git:ssh://git@github.com/zcash/zcash-android-wallet-sdk.git") developerConnection.set("scm:git:ssh://git@git.hush.is/hush/hush-android-wallet-sdk.git")
} }
developers { developers {
developer { developer {
id.set("zcash") id.set("hush")
name.set("Zcash") name.set("Hush")
url.set("https://github.com/zcash/") url.set("https://git.hush.is")
} }
} }
licenses { licenses {
license { license {
name.set("The MIT License") name.set("GNU General Public License")
url.set("http://opensource.org/licenses/MIT") url.set("https://www.gnu.org/licenses/gpl-3.0.en.html")
distribution.set("repo") distribution.set("repo")
} }
} }