-
Notifications
You must be signed in to change notification settings - Fork 16
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
Fix build for android #445
Conversation
- Use `BigInteger.valueOf(2)` instead - Reason: not supported in Java 1.8
- Update `NativeLoader` to handle `System.getProperty()` returning null
- Bump `org.bouncycastle:bcprov-jdk18on` to 1.77 - Bump `com.squareup.okhttp3:okhttp` to 4.12.0
- Remove unnecessary parenthesis; Use strings
lib/src/main/kotlin/com/swmansion/starknet/crypto/NativeLoader.kt
Outdated
Show resolved
Hide resolved
implementation 'org.bouncycastle:bcprov-jdk18on:1.76' | ||
implementation("com.squareup.okhttp3:okhttp:4.11.0") | ||
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.1") | ||
implementation 'org.bouncycastle:bcprov-jdk18on:1.77' |
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.
have you tried to build it locally + run the demo? I vaguely remember we had some problems last time we tried to bump some deps
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.
Yeah, it now builds locally with no errors.
As for the demo, we'd need to do #389 and as of now, it would be much easier to test demo once we actually release the new version.
Co-authored-by: Wojciech Szymczyk <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #445 +/- ##
==========================================
- Coverage 71.17% 71.12% -0.06%
==========================================
Files 75 75
Lines 3337 3338 +1
Branches 366 367 +1
==========================================
- Hits 2375 2374 -1
- Misses 797 798 +1
- Partials 165 166 +1 ☔ View full report in Codecov by Sentry. |
Describe your changes
Fix errors and warnings observed when running
:android:compileDebugKotlin
that caused 0.11.1 release to fail.BigInteger.TWO
: not supported in Java 1.8android
depskotlin-reflect
NativeLoader
to handleSystem.getProperty()
returning nullLinked issues
Closes
Breaking changes