File tree 7 files changed +18
-17
lines changed 7 files changed +18
-17
lines changed Original file line number Diff line number Diff line change 12
12
matrix :
13
13
# Use these Java versions
14
14
java : [
15
- 17 , # Current Java LTS & minimum supported by Minecraft
15
+ 21 , # Current Java LTS & minimum supported by Minecraft
16
16
]
17
17
# and run on both Linux and Windows
18
18
os : [ubuntu-20.04, windows-2022]
32
32
- name : build
33
33
run : ./gradlew build
34
34
- name : capture build artifacts
35
- if : ${{ runner.os == 'Linux' && matrix.java == '17 ' }} # Only upload artifacts built from latest java on one OS
35
+ if : ${{ runner.os == 'Linux' && matrix.java == '21 ' }} # Only upload artifacts built from latest java on one OS
36
36
uses : actions/upload-artifact@v2
37
37
with :
38
38
name : Artifacts
Original file line number Diff line number Diff line change 1
1
plugins {
2
- id ' fabric-loom' version ' 0.12 -SNAPSHOT'
2
+ id ' fabric-loom' version ' 1.7 -SNAPSHOT'
3
3
id ' maven-publish'
4
4
}
5
5
6
- sourceCompatibility = JavaVersion . VERSION_17
7
- targetCompatibility = JavaVersion . VERSION_17
6
+ sourceCompatibility = JavaVersion . VERSION_21
7
+ targetCompatibility = JavaVersion . VERSION_21
8
8
9
9
archivesBaseName = project. archives_base_name
10
10
version = project. mod_version
@@ -37,8 +37,7 @@ processResources {
37
37
}
38
38
39
39
tasks. withType(JavaCompile ). configureEach {
40
- // Minecraft 1.18 (1.18-pre2) upwards uses Java 17.
41
- it. options. release = 17
40
+ it. options. release = 21
42
41
}
43
42
44
43
java {
Original file line number Diff line number Diff line change @@ -3,14 +3,14 @@ org.gradle.jvmargs=-Xmx1G
3
3
4
4
# Fabric Properties
5
5
# check these on https://fabricmc.net/develop
6
- minecraft_version =1.20 .1
7
- yarn_mappings =1.20 .1+build.2
8
- loader_version =0.14.21
6
+ minecraft_version =1.21 .1
7
+ yarn_mappings =1.21 .1+build.3
8
+ loader_version =0.16.2
9
9
10
10
# Mod Properties
11
- mod_version = 1.1.2-1.20 .1
11
+ mod_version = 1.1.2-1.21 .1
12
12
maven_group = ru.xzeldon.removeblockoutline
13
13
archives_base_name = removeblockoutline
14
14
15
15
# Dependencies
16
- fabric_version =0.83 .1+1.20 .1
16
+ fabric_version =0.102 .1+1.21 .1
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-7.4 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.10 -bin.zip
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change 13
13
@ rem See the License for the specific language governing permissions and
14
14
@ rem limitations under the License.
15
15
@ rem
16
+ @ rem SPDX-License-Identifier: Apache-2.0
17
+ @ rem
16
18
17
19
@ if " %DEBUG% " == " " @ echo off
18
20
@ rem ##########################################################################
Original file line number Diff line number Diff line change 31
31
],
32
32
33
33
"depends" : {
34
- "fabricloader" : " >=0.14.6 " ,
34
+ "fabricloader" : " >=0.16.2 " ,
35
35
"fabric" : " *" ,
36
- "minecraft" : " ~1.20 " ,
37
- "java" : " >=17 "
36
+ "minecraft" : " ~1.21.1 " ,
37
+ "java" : " >=21 "
38
38
},
39
39
"suggests" : {
40
40
"another-mod" : " *"
Original file line number Diff line number Diff line change 2
2
"required" : true ,
3
3
"minVersion" : " 0.8" ,
4
4
"package" : " ru.xzeldon.removeblockoutline.mixin" ,
5
- "compatibilityLevel" : " JAVA_17 " ,
5
+ "compatibilityLevel" : " JAVA_21 " ,
6
6
"mixins" : [
7
7
],
8
8
"client" : [
You can’t perform that action at this time.
0 commit comments