-
Notifications
You must be signed in to change notification settings - Fork 117
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
build: Kotlin DSL / Convention Plugins / Java Modules #1732
Conversation
06771f8
to
c32db9d
Compare
examples/src/main/java/com/hedera/hashgraph/sdk/examples/ContractHelper.java
Show resolved
Hide resolved
sdk/src/test/java/com/hedera/hashgraph/sdk/AccountAllowanceDeleteTransactionTest.java
Show resolved
Hide resolved
ebd45ae
to
9c91763
Compare
@jjohannes Please rebase this PR when you get a chance. The team is ready to review and merge. |
d659795
to
d7bb746
Compare
@nathanklick rebased and ready for review |
Quality Gate passedIssues Measures |
I merged PR related to the docs update (recommend to check it out), and we have a doc on creating a fat/uber JAR based on the user's request. Would like to ask if is it possible for jar creation to be done as a convention plugin (like in hedera-services)? |
Proposing change |
Signed-off-by: Jendrik Johannes <[email protected]>
Signed-off-by: Jendrik Johannes <[email protected]>
Signed-off-by: Jendrik Johannes <[email protected]>
Signed-off-by: Jendrik Johannes <[email protected]>
Signed-off-by: Jendrik Johannes <[email protected]>
Signed-off-by: Jendrik Johannes <[email protected]>
Signed-off-by: Jendrik Johannes <[email protected]>
Signed-off-by: Jendrik Johannes <[email protected]>
Signed-off-by: Jendrik Johannes <[email protected]>
This allows using it to run the examples against published versions of the SDK. Signed-off-by: Jendrik Johannes <[email protected]>
Signed-off-by: Jendrik Johannes <[email protected]>
Signed-off-by: Jendrik Johannes <[email protected]>
As soon as you declare capabilities, the default capability is no longer added automatically. This can lead to really weird variant matching issues. Signed-off-by: Jendrik Johannes <[email protected]>
Signed-off-by: Jendrik Johannes <[email protected]>
Signed-off-by: Nikita Lebedev <[email protected]>
Signed-off-by: Nikita Lebedev <[email protected]>
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 🎉
Quality Gate passedIssues Measures |
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, tyvm @jjohannes and @thenswan 🙏🚀
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.
Looks good to me, just one minor comment on some comments.
Description:
This PR does the full package of Gradle + Java Module updates similar to what we did in hedera-services:
io.grpc:*
dependencies to 1.64.0 (to be Java Module compatible)module-info.java
files added tosdk/main
,sdk/integrationTest
andexamples
module-info.java
and scope is defined according tocheckAllModuleInfo
sdk-dependency-versions/build.gradle.kts
sdk-full
project that has a separatemodule-info
(exchangingrequires grpc.protobuf.lite
forrequires grpc.protobuf
) but otherwise re-uses sources and proto buffs from thesdk/main
sources folder.sdk
andsdk-full
are now both published by the Gradle build in the one publishing runSide-effects:
io.grpc:grpc-netty-shaded
in client project is automatically aligned with thegrpc-api
version we useManual Testing (for things not covered by the automatic tests):
Follow ups: