Skip to content

Commit

Permalink
Merge pull request #6 from zcash/fix/exit-jcenter
Browse files Browse the repository at this point in the history
Migrated to Maven Central.
  • Loading branch information
Kevin Gorham authored Mar 11, 2021
2 parents 80e63c8 + d7c3795 commit b685c3b
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 100 deletions.
8 changes: 1 addition & 7 deletions buildSrc/src/main/java/cash/z/ecc/android/Dependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,7 @@ package cash.z.ecc.android
object Deps {
// For use in the top-level build.gradle which gives an error when provided
// `Deps.Kotlin.version` directly
const val kotlinVersion = "1.4.10"
const val group = "cash.z.ecc.android"
const val artifactName = "kotlin-bip39"
const val versionName = "1.0.1"
const val description = "A concise implementation of BIP-0039 in Kotlin for Android."
const val githubUrl = "https://github.com/zcash/kotlin-bip39"
const val publishingActive = false // set to true to activate bintrayUpload task
const val kotlinVersion = "1.4.30"

object Kotlin : Version(kotlinVersion) {
val STDLIB = "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$version"
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8-all.zip
6 changes: 3 additions & 3 deletions lib/build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import cash.z.ecc.android.Deps

plugins {
id 'maven-publish'
id 'com.jfrog.bintray'
id "org.jetbrains.kotlin.jvm"
id 'org.jetbrains.dokka' version '0.10.1'
id 'java-library'
id 'com.vanniktech.maven.publish' version '0.14.2'
}

apply from: "publish.gradle"
group = project.property('GROUP')
version = project.property('VERSION_NAME')

tasks {
compileKotlin {
Expand Down
19 changes: 19 additions & 0 deletions lib/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Publishing : Required
GROUP=cash.z.ecc.android
POM_ARTIFACT_ID=kotlin-bip39
VERSION_NAME=1.0.2

# Publishing : Optional
POM_NAME=Kotlin BIP-39
POM_DESCRIPTION=A concise implementation of BIP-0039 in Kotlin for Android.
POM_INCEPTION_YEAR=2020
POM_URL=https://github.com/zcash/kotlin-bip39/
POM_SCM_URL=https://github.com/zcash/kotlin-bip39/
POM_SCM_CONNECTION=scm:git:git://github.com/zcash/kotlin-bip39.git
POM_SCM_DEV_CONNECTION=scm:git:ssh://[email protected]/zcash/kotlin-bip39.git
POM_LICENCE_NAME=The MIT License
POM_LICENCE_URL=http://opensource.org/licenses/MIT
POM_LICENCE_DIST=repo
POM_DEVELOPER_ID=gmale
POM_DEVELOPER_NAME=Kevin Gorham
POM_DEVELOPER_URL=https://github.com/gmale/
89 changes: 0 additions & 89 deletions lib/publish.gradle

This file was deleted.

0 comments on commit b685c3b

Please sign in to comment.