Skip to content

Commit

Permalink
Merge pull request #5 from pvyhnal-generalbytes/litecoin-0.15.1
Browse files Browse the repository at this point in the history
publish to GB artifactory
  • Loading branch information
rpanak-generalbytes authored May 3, 2019
2 parents 266653b + 65e0bd1 commit 7fa7bb5
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions core/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
apply plugin: 'java'
apply plugin: 'com.google.protobuf'
apply plugin: 'maven'
apply plugin: 'maven-publish'
apply plugin: 'eclipse'

version = '0.15.1.20190418'
archivesBaseName = 'litecoinj-core'
eclipse.project.name = 'litecoinj-core'

buildscript {
ext.with {
hasGbUploadArtifactory = (project.hasProperty('gbArtifactoryUploadUrl')
&& project.hasProperty('gbArtifactoryUser')
&& project.hasProperty('gbArtifactoryPassword'))
}
}

dependencies {
compile 'org.bouncycastle:bcprov-jdk15on:1.60'
implementation 'com.lambdaworks:scrypt:1.4.0'
Expand Down Expand Up @@ -50,3 +59,23 @@ artifacts {
archives sourcesJar
archives javadocJar
}

publishing {
if (hasGbUploadArtifactory) {
repositories {
maven {
credentials {
username gbArtifactoryUser
password gbArtifactoryPassword
}
url gbArtifactoryUploadUrl
}
}
}

publications {
mavenJava(MavenPublication) {
from components.java
}
}
}

0 comments on commit 7fa7bb5

Please sign in to comment.