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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ bin/
out/
*.chain
*.spvchain
.DS_Store
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
buildscript {
repositories {
mavenCentral()
maven {
url "https://deps.rsklabs.io"
}
jcenter()
}

Expand All @@ -10,6 +14,10 @@ buildscript {

allprojects {
repositories {
mavenCentral()
maven {
url "https://deps.rsklabs.io"
}
jcenter()
}

Expand Down
21 changes: 20 additions & 1 deletion core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ apply plugin: 'java'
apply plugin: 'com.google.protobuf'
apply plugin: 'maven'
apply plugin: 'eclipse'
apply plugin: 'maven-publish'

version = '0.15.6-rsk-2'
version = '0.15.6-rsk-3'
archivesBaseName = 'bitcoinj-core'
eclipse.project.name = 'bitcoinj-core'

dependencies {
compile 'co.rsk:native:1.2.1'
compile 'org.bouncycastle:bcprov-jdk15to18:1.63'
implementation 'com.google.guava:guava:28.1-android'
compile 'com.google.protobuf:protobuf-java:3.6.1'
Expand Down Expand Up @@ -79,6 +81,23 @@ task generatePom(dependsOn: jar) {
}
}

publishing {
publications {
bitcoinj(MavenPublication) {
pom {
from components.java
licenses {
license {
name = 'GNU General Public License (GPL) version 3.0'
url = 'http://www.gnu.org/licenses/gpl-3.0.txt'
distribution = 'repo'
}
}
}
}
}
}

artifacts {
archives sourcesJar
archives javadocJar
Expand Down
Loading