不是有现成的吗?
https://bg-software.com/superiorskyblock/
直链:
https://bg-software.com/downloads//SuperiorSkyblock2-2023.2.jar
附件:
SuperiorSkyblock2-2023.2.jar
(4.16 MB, 下载次数: 0)
https://bg-software.com/superiorskyblock/
直链:
https://bg-software.com/downloads//SuperiorSkyblock2-2023.2.jar
附件:

水煮清娃 发表于 2023-8-9 00:28
不是有现成的吗?
https://bg-software.com/superiorskyblock/
我需要的是 Folia 版本 这个都能找到
Themanole 发表于 2023-8-9 11:36
我需要的是 Folia 版本 这个都能找到
源码依赖项和证书路径都有问题,这个源码没法正常构建.
Cause: unable to find valid certification path to requested target
- Could not determine the dependencies of task ':Hooks:Oraxen:compileJava'.
- > Could not resolve all dependencies for configuration ':Hooks:Oraxen:compileClasspath'.
- > Failed to calculate the value of task ':Hooks:Oraxen:compileJava' property 'javaCompiler'.
- > Unable to download toolchain matching these requirements: {languageVersion=16, vendor=any, implementation=vendor-specific}
- > Could not GET 'https://github.com/adoptium/temurin16-binaries/releases/download/jdk-16.0.2+7/OpenJDK16U-jdk_x64_windows_hotspot_16.0.2_7.zip'.
- > 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.
补充知识:
经过验证,我之前下载了源码也没法正常构建应该跟网络有关系.这里分享一下如何自己通过GitHub自行构建这个源码.
①.Fork源码源码值自己的存储库.
②.配置GitHub Actions.
已经写好的构建代码:
复制代码
③.等待构建完成(需要好几分钟,变绿后点进去即可下载).
经过验证,我之前下载了源码也没法正常构建应该跟网络有关系.这里分享一下如何自己通过GitHub自行构建这个源码.
①.Fork源码源码值自己的存储库.

②.配置GitHub Actions.




已经写好的构建代码:
- name: SuperiorSkyblock2-Folia Artifact
- on:
- push:
- branches: [ master ]
- pull_request:
- branches: [ master ]
- jobs:
- releaseJar:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-java@v1
- with:
- java-version: 17
- - name: Cache .gradle/caches
- uses: actions/cache@v1
- with:
- path: ~/.gradle/caches
- key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
- restore-keys: ${{ runner.os }}-gradle-
- - name: Cache .gradle/wrapper
- uses: actions/cache@v1
- with:
- path: ~/.gradle/wrapper
- key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/*.gradle') }}
- restore-keys: ${{ runner.os }}-gradle-wrapper-
- - name: Grant execute permission for gradlew
- run: chmod +x gradlew
- # - name: Build with Gradle
- # run: ./gradlew clean build -s
- # First build
- - name: build
- id: build_1
- run: ./gradlew build
- # Second build
- - name: build (retry 1)
- id: build_2
- if: steps.build_1.outcome == 'failure'
- run: ./gradlew build
- # Third build
- - name: build (retry 2)
- id: build_3
- if: steps.build_2.outcome == 'failure'
- run: ./gradlew build
- # Fourth build
- - name: build (retry 3)
- id: build_4
- if: steps.build_3.outcome == 'failure'
- run: ./gradlew build
- # output jar
- - name: Upload Artifacts
- uses: actions/upload-artifact@v2
- with:
- name: SuperiorSkyblock2-Folia Artifact
- path: target/*.jar
③.等待构建完成(需要好几分钟,变绿后点进去即可下载).

