Skip to content

Commit

Permalink
🎨 update
Browse files Browse the repository at this point in the history
  • Loading branch information
kitUIN committed Aug 14, 2024
1 parent 4bfd155 commit 5877881
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/test_forge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,6 @@ jobs:
matrix: ${{ fromJson(needs.generate-matrix.outputs.matrix) }}
steps:
- uses: actions/checkout@v4
- name: Chose JDK 8
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'temurin'
- name: Chose JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Chose JDK 21
uses: actions/setup-java@v4
with:
Expand Down
3 changes: 2 additions & 1 deletion forge/origin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def javaVersion = JavaVersion.toVersion(targetJavaVersion)
java {
sourceCompatibility = '21'
targetCompatibility = '21'
toolchain.languageVersion = JavaLanguageVersion.of(targetJavaVersion)
toolchain.languageVersion = JavaLanguageVersion.of(21)
archivesBaseName = project.archives_base_name
withSourcesJar()
}
Expand Down Expand Up @@ -152,6 +152,7 @@ afterEvaluate {

tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8' // Use the UTF-8 charset for Java compilation
options.release.set(targetJavaVersion)
}


Expand Down

0 comments on commit 5877881

Please sign in to comment.