diff --git a/gradle.properties b/gradle.properties index 83beb788..38529786 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,9 +7,9 @@ consensusjBtcJsonRpcArtifact = cj-btc-jsonrpc consensusjBtcJsonRpcGvyArtifact = cj-btc-jsonrpc-gvy consensusjBtcCliArtifact = cj-btc-cli consensusjBtcDslArtifact = bitcoinj-dsl -consensusjBtcMoneyArtifact = bitcoinj-money -consensusjVersion = 0.4.0 -groovyVersion = 2.5.8 +consensusjExchangeArtifact = consensusj-exchange +consensusjVersion = 0.5.0 +groovyVersion = 2.5.9 spockVersion = 1.3-groovy-2.5 slf4jVersion = 1.7.30 diff --git a/omnij-money/build.gradle b/omnij-money/build.gradle index dbbda0d5..6da907a9 100644 --- a/omnij-money/build.gradle +++ b/omnij-money/build.gradle @@ -1,7 +1,7 @@ dependencies { compile project(':omnij-core') - compile "${consensusjGroup}:${consensusjBtcMoneyArtifact}:${consensusjVersion}" + compile "${consensusjGroup}:${consensusjExchangeArtifact}:${consensusjVersion}" compile 'org.javamoney:moneta-bp:1.3' } diff --git a/omnij-money/src/main/java/foundation/omni/money/TetherUSDIdentityProvider.java b/omnij-money/src/main/java/foundation/omni/money/TetherUSDIdentityProvider.java index 87a896c7..25655850 100644 --- a/omnij-money/src/main/java/foundation/omni/money/TetherUSDIdentityProvider.java +++ b/omnij-money/src/main/java/foundation/omni/money/TetherUSDIdentityProvider.java @@ -12,11 +12,10 @@ import javax.money.convert.ProviderContextBuilder; import javax.money.convert.RateType; -import com.msgilligan.bitcoinj.money.CurrencyUnitPair; -import com.msgilligan.bitcoinj.money.ExchangeRateChange; -import com.msgilligan.bitcoinj.money.ExchangeRateObserver; -import com.msgilligan.bitcoinj.money.ObservableExchangeRateProvider; -import org.javamoney.moneta.CurrencyUnitBuilder; +import org.consensusj.exchange.CurrencyUnitPair; +import org.consensusj.exchange.ExchangeRateChange; +import org.consensusj.exchange.ExchangeRateObserver; +import org.consensusj.exchange.ObservableExchangeRateProvider; import org.javamoney.moneta.convert.ExchangeRateBuilder; import org.javamoney.moneta.spi.AbstractRateProvider; import org.javamoney.moneta.spi.DefaultNumberValue;