File tree Expand file tree Collapse file tree 6 files changed +13
-13
lines changed
Expand file tree Collapse file tree 6 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 1212 matrix :
1313 # Use these Java versions
1414 java : [
15- 17, # Current Java LTS & minimum supported by Minecraft
1615 21, # Current Java LTS
1716 ]
1817 runs-on : ubuntu-22.04
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ processResources {
5050}
5151
5252tasks. withType(JavaCompile ). configureEach {
53- it. options. release = 17
53+ it. options. release = 21
5454}
5555
5656java {
5959 // If you remove this line, sources will not be generated.
6060 withSourcesJar()
6161
62- sourceCompatibility = JavaVersion . VERSION_17
63- targetCompatibility = JavaVersion . VERSION_17
62+ sourceCompatibility = JavaVersion . VERSION_21
63+ targetCompatibility = JavaVersion . VERSION_21
6464}
6565
6666jar {
7373publishing {
7474 publications {
7575 create(" mavenJava" , MavenPublication ) {
76+ artifactId = project. archives_base_name
7677 from components. java
7778 }
7879 }
Original file line number Diff line number Diff line change @@ -4,14 +4,14 @@ org.gradle.parallel=true
44
55# Fabric Properties
66# check these on https://fabricmc.net/develop
7- minecraft_version =1.20.4
8- yarn_mappings =1.20.4 +build.3
9- loader_version =0.15.9
7+ minecraft_version =1.20.5
8+ yarn_mappings =1.20.5 +build.1
9+ loader_version =0.15.10
1010
1111# Mod Properties
1212mod_version =1.0.0
1313maven_group =com.example
1414archives_base_name =modid
1515
1616# Dependencies
17- fabric_version =0.96.11 +1.20.4
17+ fabric_version =0.97.5 +1.20.5
Original file line number Diff line number Diff line change 11{
22 "required" : true ,
33 "package" : " com.example.mixin.client" ,
4- "compatibilityLevel" : " JAVA_17 " ,
4+ "compatibilityLevel" : " JAVA_21 " ,
55 "client" : [
66 " ExampleClientMixin"
77 ],
Original file line number Diff line number Diff line change 3030 }
3131 ],
3232 "depends" : {
33- "fabricloader" : " >=0.15.9 " ,
34- "minecraft" : " ~1.20.4 " ,
35- "java" : " >=17 " ,
33+ "fabricloader" : " >=0.15.10 " ,
34+ "minecraft" : " ~1.20.5 " ,
35+ "java" : " >=21 " ,
3636 "fabric-api" : " *"
3737 },
3838 "suggests" : {
Original file line number Diff line number Diff line change 11{
22 "required" : true ,
33 "package" : " com.example.mixin" ,
4- "compatibilityLevel" : " JAVA_17 " ,
4+ "compatibilityLevel" : " JAVA_21 " ,
55 "mixins" : [
66 " ExampleMixin"
77 ],
You can’t perform that action at this time.
0 commit comments