Open
Conversation
解决centos7环境下编译错误的问题,这个已经经过测试
解决centos7环境下编译错误的问题,升级gradle 到8.0.1
Member
|
gradle升级到8.+需要测试低版本的jdk能否使用,是否可以说明在centos7编译时遇到什么问题? |
|
Kudos, SonarCloud Quality Gate passed! |
Collaborator
|
Author
|
jdk 是1.8.0_362,使用下面的方式取代码
git clone https://github.com/FISCO-BCOS/java-sdk-demo -b release-2.8.0
git pull
1,任何东西都不该出现图1错误
2,改为下面的文件后,升级了gradile 版本
vi gradle/wrapper/gradle-wrapper.properties
***@***.*** java-sdk-demo]# cat gradle/wrapper/gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
#distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-bin.zip
#distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
出现了图2错误
3,grgit 4.1.0改成 4.1.1后,出现了图3错误
***@***.*** java-sdk-demo]#
***@***.*** java-sdk-demo]# vi build-hsm.gradle
***@***.*** java-sdk-demo]#
***@***.*** java-sdk-demo]# cat build-hsm.gradle
// Apply the java-library plugin to add support for Java Library
plugins {
id 'java'
id 'idea'
id 'java-library'
id 'jacoco'
id 'com.github.sherter.google-java-format' version '0.8'
id 'maven-publish'
id 'org.ajoberstar.grgit' version '4.1.1' //4.1.0改成 4.1.1
}
剩下的还需一一实验吗,图3可以看出, build-hsm.gradle 本身都有很多bug,我已经一一修改
该邮件从移动设备发送
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2023年2月28日(星期二) 晚上8:12
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [FISCO-BCOS/java-sdk] 解决centos7环境下编译错误的问题 (PR #737)
gradle升级到8.+需要测试低版本的jdk能否使用,是否可以说明在centos7编译时遇到什么问题?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.








解决centos7环境下编译错误的问题