Closed RiccardoM closed 5 years ago
the problem comes from the ability of kethereum to support spongycastle and bouncycastle. You cannot depend on both. And you do not want to include all modules anyway - just the ones you use.
so you do something like this:
implementation "com.github.walleth.kethereum:functions:$kethereum_version"
implementation "com.github.walleth.kethereum:bip39:$kethereum_version"
implementation "com.github.walleth.kethereum:bip39_wordlist_en:$kethereum_version"
implementation "com.github.walleth.kethereum:bip44:$kethereum_version"
implementation "com.github.walleth.kethereum:erc55:$kethereum_version"
implementation "com.github.walleth.kethereum:eip155:$kethereum_version"
implementation "com.github.walleth.kethereum:eip191:$kethereum_version"
implementation "com.github.walleth.kethereum:erc681:$kethereum_version"
implementation "com.github.walleth.kethereum:erc831:$kethereum_version"
implementation "com.github.walleth.kethereum:erc1328:$kethereum_version"
implementation "com.github.walleth.kethereum:keccak_shortcut:$kethereum_version"
implementation "com.github.walleth.kethereum:method_signatures:$kethereum_version"
implementation "com.github.walleth.kethereum:networks:$kethereum_version"
implementation "com.github.walleth.kethereum:etherscan:$kethereum_version"
implementation "com.github.walleth.kethereum:rlp:$kethereum_version"
implementation "com.github.walleth.kethereum:wallet:$kethereum_version"
implementation "com.github.walleth.kethereum:contract_abi_types:$kethereum_version"
implementation "com.github.walleth.kethereum:crypto_impl_bouncycastle:$kethereum_version"
the last line is the most important for you. Hers bouncycastle is used.
@ligi I think this indication might be useful to future users too. Would you mind including this inside the README file?
Also, what about creating something like a core
module that includes all those dependencies and not the crypto implementations (that must be chosen by the users)?
yea - should really include this in the readme - but as always time is the limiting factor - btw. PR's welcome ,-)
What would you add to core? Not really sure about this tbh. - I think apps should only depend on what they use.
I will try and write some documentation, while I work with this library.
About the core module, you're probably right, it does not make much sense.
Description
While try running some instrumented tests (or running the application), I run into an exception during the build.
I'm trying running the application on a Nexus 5 API 28 image without Google Play Services.
Reproduce
implementation
dependencySolutions tried
Project build.gradle
Module build.gradle
Attached build logs