首先你得准备好你的前置库
然后
我觉得这个讲的很清楚了,除非你看不懂英文
看不懂我帮你翻译一下,你首先得有https://gradle.org/
然后安装了以后在此文件夹下cmd窗口,然后输入gradlew.bat clean build
然后等它走完,然后你可以在./build/libs里找到你构建好的插件
然后

我觉得这个讲的很清楚了,除非你看不懂英文
看不懂我帮你翻译一下,你首先得有https://gradle.org/
然后安装了以后在此文件夹下cmd窗口,然后输入gradlew.bat clean build
然后等它走完,然后你可以在./build/libs里找到你构建好的插件
部分源码包可直接运行里面的gradlew.bat直接完成构建
名副其实 发表于 2022-1-18 22:54
部分源码包可直接运行里面的gradlew.bat直接完成构建
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'XK-Forge'.
> Could not resolve all files for configuration ':taboo'.
> Could not resolve io.izzel:taboolib:6.0.3-12.
Required by:
project :
> Could not resolve io.izzel:taboolib:6.0.3-12.
> Could not get resource 'https://repo2s.ptms.ink/repository/maven-releases/io/izzel/taboolib/6.0.3-12/taboolib-6.0.3-12.pom'.
> Could not GET 'https://repo2s.ptms.ink/repository/maven-releases/io/izzel/taboolib/6.0.3-12/taboolib-6.0.3-12.pom'.
> The server may not support the client's requested TLS protocol versions: (TLSv1.2). You may need to configure the client to allow other protocols to be used. See: https://docs.gradle.org/7.0.2/us ... e_system_properties
> sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
* 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
>
1525659012 发表于 2022-1-18 23:03
FAILURE: Build failed with an exception.
* What went wrong:
网络环境不佳,前置库taboolib下载失败
fork到自己的仓库然后配GitHub action就行了
那个在GitHub的服务器上面跑不会存在网络问题
记得要添加artifact
那个在GitHub的服务器上面跑不会存在网络问题
记得要添加artifact
1525659012 发表于 2022-1-18 23:39
能帮忙构建一下吗?可有偿
我帮你构建吧
嘉晚饭,赢 发表于 2022-1-19 11:09
fork到自己的仓库然后配GitHub action就行了
那个在GitHub的服务器上面跑不会存在网络问题
记得要添加artif ...
所以大佬具体应该怎么弄呢 我也是网络问题。。。awa