mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2024-11-19 01:40:26 +01:00
Make Guava an api
dependency using java-library
Use the Gradle java-library plugin to make Guava an `api` dependency since Guava types are used in the bitcoinj public API. This allows us to remove explicit dependencies on Guava in the other modules.
This commit is contained in:
parent
5ade97b5b3
commit
e4c6b98536
@ -9,7 +9,7 @@ version = '0.16-SNAPSHOT'
|
||||
|
||||
dependencies {
|
||||
compile 'org.bouncycastle:bcprov-jdk15to18:1.64'
|
||||
implementation 'com.google.guava:guava:28.2-android'
|
||||
api 'com.google.guava:guava:28.2-android'
|
||||
compile 'com.google.protobuf:protobuf-java:3.9.2'
|
||||
implementation 'com.squareup.okhttp3:okhttp:3.12.8'
|
||||
implementation 'org.slf4j:slf4j-api:1.7.30'
|
||||
|
@ -5,7 +5,6 @@ plugins {
|
||||
|
||||
dependencies {
|
||||
implementation project(':bitcoinj-core')
|
||||
implementation 'com.google.guava:guava:28.2-android'
|
||||
implementation 'net.sf.jopt-simple:jopt-simple:5.0.4'
|
||||
implementation 'org.slf4j:slf4j-jdk14:1.7.30'
|
||||
implementation 'org.fusesource.leveldbjni:leveldbjni-all:1.8'
|
||||
|
@ -5,7 +5,6 @@ plugins {
|
||||
|
||||
dependencies {
|
||||
implementation project(':bitcoinj-core')
|
||||
implementation 'com.google.guava:guava:28.2-android'
|
||||
implementation 'net.sf.jopt-simple:jopt-simple:5.0.4'
|
||||
implementation 'org.slf4j:slf4j-jdk14:1.7.30'
|
||||
}
|
||||
|
@ -7,7 +7,6 @@ plugins {
|
||||
|
||||
dependencies {
|
||||
implementation project(':bitcoinj-core')
|
||||
implementation 'com.google.guava:guava:28.2-android'
|
||||
implementation 'de.jensd:fontawesomefx:8.0.0'
|
||||
implementation 'com.google.zxing:core:3.3.3'
|
||||
implementation 'org.slf4j:slf4j-jdk14:1.7.30'
|
||||
|
Loading…
Reference in New Issue
Block a user