Renamed module 'domain' to 'core' to make its purpose more clear
This commit is contained in:
parent
8764642878
commit
ac6f291964
@ -29,18 +29,21 @@ Setup
|
|||||||
|
|
||||||
Add Jabit as Gradle dependency:
|
Add Jabit as Gradle dependency:
|
||||||
```Gradle
|
```Gradle
|
||||||
compile 'ch.dissem.jabit:jabit-domain:0.2.0'
|
compile 'ch.dissem.jabit:jabit-core:0.2.0'
|
||||||
```
|
```
|
||||||
Unless you want to implement your own, also add the following:
|
Unless you want to implement your own, also add the following:
|
||||||
```Gradle
|
```Gradle
|
||||||
compile 'ch.dissem.jabit:jabit-networking:0.2.0'
|
compile 'ch.dissem.jabit:jabit-networking:0.2.0'
|
||||||
compile 'ch.dissem.jabit:jabit-repositories:0.2.0'
|
compile 'ch.dissem.jabit:jabit-repositories:0.2.0'
|
||||||
|
compile 'ch.dissem.jabit:jabit-cryptography-bc:0.2.0'
|
||||||
```
|
```
|
||||||
And if you want to import from or export to the Wallet Import Format (used by PyBitmessage) you might also want to add:
|
And if you want to import from or export to the Wallet Import Format (used by PyBitmessage) you might also want to add:
|
||||||
```Gradle
|
```Gradle
|
||||||
compile 'ch.dissem.jabit:jabit-wif:0.2.0'
|
compile 'ch.dissem.jabit:jabit-wif:0.2.0'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
For Android clients use `jabit-cryptography-sc` instead of `jabit-cryptography-bc`.
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
@ -2,8 +2,8 @@ uploadArchives {
|
|||||||
repositories {
|
repositories {
|
||||||
mavenDeployer {
|
mavenDeployer {
|
||||||
pom.project {
|
pom.project {
|
||||||
name 'Jabit Domain'
|
name 'Jabit Core'
|
||||||
artifactId = 'jabit-domain'
|
artifactId = 'jabit-core'
|
||||||
description 'A Java implementation of the Bitmessage protocol. This is the core part. You\'ll either need the networking and repositories modules, too, or implement your own.'
|
description 'A Java implementation of the Bitmessage protocol. This is the core part. You\'ll either need the networking and repositories modules, too, or implement your own.'
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -11,7 +11,7 @@ uploadArchives {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':domain')
|
compile project(':core')
|
||||||
compile 'org.bouncycastle:bcprov-jdk15on:1.52'
|
compile 'org.bouncycastle:bcprov-jdk15on:1.52'
|
||||||
testCompile 'junit:junit:4.11'
|
testCompile 'junit:junit:4.11'
|
||||||
testCompile 'org.mockito:mockito-core:1.10.19'
|
testCompile 'org.mockito:mockito-core:1.10.19'
|
||||||
|
@ -11,7 +11,7 @@ uploadArchives {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':domain')
|
compile project(':core')
|
||||||
compile 'com.madgag.spongycastle:prov:1.52.0.0'
|
compile 'com.madgag.spongycastle:prov:1.52.0.0'
|
||||||
testCompile 'junit:junit:4.11'
|
testCompile 'junit:junit:4.11'
|
||||||
}
|
}
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user