File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 9
9
10
10
steps :
11
11
- uses : actions/checkout@v1
12
- - name : Set up JDK 17
12
+ - name : Set up JDK 21
13
13
uses : actions/setup-java@v2
14
14
with :
15
15
distribution : ' adopt'
16
- java-version : 17
16
+ java-version : 21
17
17
- name : Setup
18
18
run : chmod +x gradlew && ./gradlew setup
19
19
- name : Build with Gradle
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ println(' Java: ' + System.getProperty('java.version') +
23
23
' JVM: ' + System . getProperty(' java.vm.version' ) + ' (' + System . getProperty(' java.vendor' ) + ' )' +
24
24
' Arch: ' + System . getProperty(' os.arch' ))
25
25
26
- java. toolchain. languageVersion = JavaLanguageVersion . of(17 )
26
+ java. toolchain. languageVersion = JavaLanguageVersion . of(21 )
27
27
28
28
configurations {
29
29
shade
@@ -34,10 +34,10 @@ group = 'me.yourname'
34
34
version = ' 1.0.0'
35
35
36
36
ext {
37
- minecraft_version = ' 1.20.2 '
38
- mcp_version = ' 20230921.100330 '
37
+ minecraft_version = ' 1.21.4 '
38
+ mcp_version = ' ' 20241203.143248
39
39
mappings_channel = ' official'
40
- mappings_version = ' 1.20.2 '
40
+ mappings_version = ' 1.21.4 '
41
41
spi_version = ' 7.0.0'
42
42
}
43
43
You can’t perform that action at this time.
0 commit comments