-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add native targets #23
Conversation
…es are accepted KHash PR: komputing/KHash#23 kotlin-bip39: Electric-Coin-Company/kotlin-bip39#14
} | ||
sourceSets { | ||
commonTest { | ||
dependencies { | ||
implementation(kotlin("test-common")) | ||
implementation(kotlin("test-annotations-common")) | ||
implementation("com.github.komputing.khex:extensions:${Versions.khex}") | ||
implementation("KHex:extensions:${Versions.khex}") |
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.
this breaks the build for me:
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':sha512:jsIrTestPackageJson'.
> Could not resolve all dependencies for configuration ':sha512:jsIrTestNpm'.
> Could not find KHex:extensions:1.1.2.
Searched in the following locations:
- https://maven.pkg.github.com/komputing/KHex/KHex/extensions/1.1.2/extensions-1.1.2.pom
- https://repo.maven.apache.org/maven2/KHex/extensions/1.1.2/extensions-1.1.2.pom
Required by:
project :sha512
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 5s
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.
Oh oops, I forgot to mention this PR relies on this pr: komputing/KHex#14
So this can't be merged until KHex is updated and has new artifacts published
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.
thanks! I merged the KHex PR - but still not sure how this can work afterwards - removing the com.github.komputing
would mean it is not resolved via jitpack anymore - but not sure what service would be used to resolve the dependency then
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.
Sorry, that was a mistake. I published KHex to mavenLocal and accidentally commited that line
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.
no worries - but that might be a deal breaker for merging - seems jitpack still has problems with KMP: jitpack/jitpack.io#3853
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.
@ligi yeah still only jvm for jitpack afaik. And as I was saying this PR need an new version of KHex published on github artifacts before this can be merged
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.
ah right - we can use github artifacts - then it might not be a blocker - released and thanked you here: https://github.com/komputing/KHex/releases/tag/1.1.3
but this still needs a change here so it consumes the dependency from github artifacts right?
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 still needs that updated dependency
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.
do you want to update the PR with that?
Any updates on this pr? |
yes - see the comments here: #23 (comment) |
I have fixed the problems in a new pr: #25 Sorry i originally wanted to make a change request to this pr, but it didn't work so needed to make an additional pull request. |
Updated everything and it uses the new KHex version 👍 |
is |
I added all native targets that kassert (the only limiting dependency of KHex) supports which are: