mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-21 22:31:44 +01:00
Use published snapshots for BitcoinJ and TomP2P
Bitsquare depends on specific versions of BitcoinJ and TomP2P that have not previously been published to any maven repository--until now. Based on the 'published' branch of the bitcoinj [1] and tomp2p [2] forks under the bitsquare organization, snapshots have been published to a temporary repository [3] that has been made available to us by JFrog. To be as explicit as possible, these custom-published snapshots have had their version numbers qualified with the short hash of the commit they were built from. So for bitcoinj, the dependency is no longer 0.12-SNAPSHOT, but 0.12.308de4e-SNAPSHOT. For TomP2P, the version has gone from 5.0-Alpha24-SNAPSHOT to 5.0-Alpha24.805623c-SNAPSHOT. Accordingly, these qualified versions are now reflected in the dependency declarations in build.gradle. This means that it is no longer necessary to build bitcoinj and tomp2p locally in order to get up and running with Bitsquare development, and the README has been updated accordingly. And it also means we can now set up a Travis CI build with ease (which shall be done with #86). Resolves #97 [1]: https://github.com/bitsquare/bitcoinj/tree/published [2]: https://github.com/bitsquare/tomp2p/tree/published [3]: http://partnerdemo.artifactoryonline.com/partnerdemo/libs-snapshots-local/
This commit is contained in:
parent
ba3d04fed1
commit
d536258871
2 changed files with 8 additions and 18 deletions
20
README.md
20
README.md
|
@ -6,23 +6,13 @@ It allows to trade fiat money (USD, EURO, ...) for Bitcoins without relying on a
|
|||
Instead, all participants form a peer to peer market.
|
||||
|
||||
## Dependencies
|
||||
The project use **Java 8** and **Gradle**.
|
||||
We use the **BitcoinJ** library and **TomP2P** for DHT and direct messaging.
|
||||
|
||||
- [JDK 8](http://www.oracle.com/technetwork/java/javase/downloads/index.html)
|
||||
|
||||
## Development setup
|
||||
|
||||
### Build the 2 master branches of the external libraries:
|
||||
|
||||
We use [that fork](https://github.com/bitsquare/TomP2P) from the actual TomP2P master branch.
|
||||
You need to check that branch out and deploy it to the local maven repository.
|
||||
Build the project with:
|
||||
**mvn clean install -DskipTests** (DskipTests because some unit tests are failing in the master branch)
|
||||
|
||||
We use also [that fork](https://github.com/bitsquare/bitcoinj) of the latest BitcoinJ master branch.
|
||||
You need to check that branch out as well and deploy it to the local maven repository.
|
||||
Build the project with:
|
||||
**mvn clean install**
|
||||
|
||||
git clone https://github.com/bitsquare/bitsquare.git
|
||||
./gradlew build
|
||||
|
||||
### Regtest mode for local testing
|
||||
For local testing it is best to use the **regtest** mode from the Bitcoin QT client.
|
||||
|
@ -69,4 +59,4 @@ Please don't use main net with real money, as the software is under heavy develo
|
|||
* [IRC](https://webchat.freenode.net/?channels=bitsquare.io)
|
||||
* [Bitcoin forum](https://bitcointalk.org/index.php?topic=647457)
|
||||
* [Twitter](https://twitter.com/bitsquare_)
|
||||
* [Email](mailto:team@bitsquare.io)
|
||||
* [Email](mailto:team@bitsquare.io)
|
||||
|
|
|
@ -24,12 +24,12 @@ task executableJar(type: OneJar) {
|
|||
|
||||
repositories {
|
||||
jcenter()
|
||||
mavenLocal()
|
||||
maven { url 'http://partnerdemo.artifactoryonline.com/partnerdemo/libs-snapshots-local' }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile 'com.google:bitcoinj:0.12-SNAPSHOT'
|
||||
compile 'net.tomp2p:tomp2p-all:5.0-Alpha24-SNAPSHOT'
|
||||
compile 'com.google:bitcoinj:0.12.308de4e-SNAPSHOT'
|
||||
compile 'net.tomp2p:tomp2p-all:5.0-Alpha24.805623c-SNAPSHOT'
|
||||
compile 'org.slf4j:slf4j-api:1.7.7'
|
||||
compile 'ch.qos.logback:logback-core:1.1.2'
|
||||
compile 'ch.qos.logback:logback-classic:1.1.2'
|
||||
|
|
Loading…
Add table
Reference in a new issue