Themanole
我这边网差  谢谢
https://github.com/malafk/SuperiorSkyblock2-Folia



水煮清娃
不是有现成的吗?

https://bg-software.com/superiorskyblock/

直链:
https://bg-software.com/downloads//SuperiorSkyblock2-2023.2.jar
附件:
SuperiorSkyblock2-2023.2.jar (4.16 MB, 下载次数: 0)


Themanole
水煮清娃 发表于 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

  1. Could not determine the dependencies of task ':Hooks:Oraxen:compileJava'.
  2. > Could not resolve all dependencies for configuration ':Hooks:Oraxen:compileClasspath'.
  3.    > Failed to calculate the value of task ':Hooks:Oraxen:compileJava' property 'javaCompiler'.
  4.       > Unable to download toolchain matching these requirements: {languageVersion=16, vendor=any, implementation=vendor-specific}
  5.          > 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'.
  6.             > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

  7. * Try:
  8. > Run with --stacktrace option to get the stack trace.
  9. > Run with --info or --debug option to get more log output.
  10. > Run with --scan to get full insights.
复制代码



水煮清娃
试一下这个,如果不行那就没辙了.
SuperiorSkyblock2-2023.1.jar (3 MB, 下载次数: 0)


水煮清娃
补充知识:
经过验证,我之前下载了源码也没法正常构建应该跟网络有关系.这里分享一下如何自己通过GitHub自行构建这个源码.

①.Fork源码源码值自己的存储库.



②.配置GitHub Actions.









已经写好的构建代码:
  1. name: SuperiorSkyblock2-Folia Artifact

  2. on:
  3.   push:
  4.     branches: [ master ]
  5.   pull_request:
  6.     branches: [ master ]

  7. jobs:
  8.   releaseJar:
  9.     runs-on: ubuntu-latest
  10.     steps:
  11.       - uses: actions/checkout@v2
  12.       - uses: actions/setup-java@v1
  13.         with:
  14.           java-version: 17

  15.       - name: Cache .gradle/caches
  16.         uses: actions/cache@v1
  17.         with:
  18.           path: ~/.gradle/caches
  19.           key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
  20.           restore-keys: ${{ runner.os }}-gradle-

  21.       - name: Cache .gradle/wrapper
  22.         uses: actions/cache@v1
  23.         with:
  24.           path: ~/.gradle/wrapper
  25.           key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/*.gradle') }}
  26.           restore-keys: ${{ runner.os }}-gradle-wrapper-

  27.       - name: Grant execute permission for gradlew
  28.         run: chmod +x gradlew

  29. #      - name: Build with Gradle
  30. #        run: ./gradlew clean build -s

  31.       # First build
  32.       - name: build
  33.         id: build_1
  34.         run: ./gradlew build
  35.       # Second build
  36.       - name: build (retry 1)
  37.         id: build_2
  38.         if: steps.build_1.outcome == 'failure'
  39.         run: ./gradlew build
  40.        # Third build
  41.       - name: build (retry 2)
  42.         id: build_3
  43.         if: steps.build_2.outcome == 'failure'
  44.         run: ./gradlew build
  45.        # Fourth build
  46.       - name: build (retry 3)
  47.         id: build_4
  48.         if: steps.build_3.outcome == 'failure'
  49.         run: ./gradlew build
  50.         # output jar
  51.       - name: Upload Artifacts
  52.         uses: actions/upload-artifact@v2
  53.         with:
  54.           name: SuperiorSkyblock2-Folia Artifact
  55.           path: target/*.jar
复制代码


③.等待构建完成(需要好几分钟,变绿后点进去即可下载).






第一页 上一页 下一页 最后一页