-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 0.15 #47
Release 0.15 #47
Conversation
* Update bitcoinj to 0.15.10 * Update JUnit to 4.13.2 * Update slf4j to 1.7.30 * Update Guava to 30.0 * Update Protobuf to 3.13 * Update OkHttp to 3.12.12 * Remove unused EasyMock * Replace Spongycastle with Bouncycastle
* Bump to Gradle 6.7.1 * Stop trying to use Oracle JDK, or JDK7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Built with the mentioned changes on Android and works. Without the changes it doesn't compile, respectively crashes when accessing a BC API.
core/build.gradle
Outdated
@@ -5,36 +5,38 @@ version = '0.15-SNAPSHOT' | |||
archivesBaseName = 'libdohj-core' | |||
|
|||
dependencies { | |||
compile 'org.bitcoinj:bitcoinj-core:0.15.9' | |||
compile 'com.madgag.spongycastle:core:1.58.0.0' | |||
implementation 'org.bouncycastle:bcprov-jdk15to18:1.68' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That completely breaks on Android. Using BC is a huge pain on Android due to conflicts with the sytsem supplied version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it still break? bitcoinj moved over to Bouncycastle ( https://github.com/bitcoinj/bitcoinj/blob/master/core/build.gradle#L11) so I presumed Android had unscrewed things.
If not, I'd have to make a new spongycastle as 1.58 was the last one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rtyley/spongycastle#34 is relevant
No description provided.