-
Notifications
You must be signed in to change notification settings - Fork 456
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
feature(build): update gradle from 4.0 to 6.3 #745
feature(build): update gradle from 4.0 to 6.3 #745
Conversation
Master merge to develop
Refactor StringUtils.isContains
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.3' | ||
classpath "gradle.plugin.com.liferay:gradle-plugins-node:4.3.0" | ||
classpath 'com.github.jengelman.gradle.plugins:shadow:5.2.0' | ||
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.12' |
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.
In line 51, this version is 7.1.2 in java-tron.
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.
which 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.
classpath "gradle.plugin.com.github.johnrengelman:shadow:7.1.2" . This version of Shadow supports Gradle 7.0+ only. So 5.2.0 is available.
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.
@lxcmyf shadow is not necessary for java-tron. You can try to compile it without shadow.
testAnnotationProcessor 'org.projectlombok:lombok:1.18.24' | ||
|
||
implementation group: 'org.jline', name: 'jline', version: '3.25.0' | ||
implementation group: 'io.github.tronprotocol', name: 'zksnark-java-sdk', version: '1.0.0' |
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 best to keep these upgraded versions consistent with Java tron.
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.
The version of grpc、protobuf is same as that used in java-tron. Other dependency is not very important. jline and zksnark-java-sdk is not changed.
What does this PR do?
Why are these changes required?
This PR has been tested by:
Follow up
Extra details