-
Notifications
You must be signed in to change notification settings - Fork 76
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
Put Workflows Jar on a diet - exclude all corda runtime files #206
Conversation
d371c0c
to
9d8134d
Compare
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.
What is the point of all of this Evil Gradle Magic? (Other than ensuring that no-one will ever want to touch these build.gradle
files ever again)
@@ -2,6 +2,11 @@ apply plugin: 'kotlin-jpa' | |||
apply plugin: 'net.corda.plugins.quasar-utils' | |||
apply plugin: 'net.corda.plugins.cordapp' | |||
|
|||
|
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 entire file ... WTF?!
Why?
If there isn't an easier way of doing this then Gradle Must DIE!!!
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.
It's an edge case in our fatjarring.
We want to compile in the selection project, but the selection project cordaCompile
Corda components, which when you don't use the jar approach results in the entire Corda runtime being included in the fatJar due to transitive dependencies.
The next step is to just move all the logic into workflows.. which I'm seriously considering.
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, probably would make sense to do so, given that money and selection aren't separate cordapps anymore and unlikely to be used outside of the token sdk.
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.
LGTM
* Make redeem flow handlers open (#199) * Make redeem flow handlers open to allow adding custom processing logic for redeemed tokens on the issuer`s side. Make ObserverAwareFinalityFlowHandler return a SignedTransaction if one was received. * Undo removing a flow Co-authored-by: Stefano Franz <[email protected]> * Put Workflows Jar on a diet - exclude all corda runtime files (#206) * keep * put workflows jar on a bit of a diet * Add serialization env to OwnerMigration * fix migration for 4.6 Co-authored-by: Andrius Dagys <[email protected]> Co-authored-by: Stefano Franz <[email protected]> Co-authored-by: Stefano Franz <[email protected]>
No description provided.