Skip to content

Commit 63274c0

Browse files
committed
1.21.1
1 parent 7a643a5 commit 63274c0

File tree

7 files changed

+18
-17
lines changed

7 files changed

+18
-17
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
matrix:
1313
# Use these Java versions
1414
java: [
15-
17, # Current Java LTS & minimum supported by Minecraft
15+
21, # Current Java LTS & minimum supported by Minecraft
1616
]
1717
# and run on both Linux and Windows
1818
os: [ubuntu-20.04, windows-2022]
@@ -32,7 +32,7 @@ jobs:
3232
- name: build
3333
run: ./gradlew build
3434
- 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
3636
uses: actions/upload-artifact@v2
3737
with:
3838
name: Artifacts

build.gradle

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
plugins {
2-
id 'fabric-loom' version '0.12-SNAPSHOT'
2+
id 'fabric-loom' version '1.7-SNAPSHOT'
33
id 'maven-publish'
44
}
55

6-
sourceCompatibility = JavaVersion.VERSION_17
7-
targetCompatibility = JavaVersion.VERSION_17
6+
sourceCompatibility = JavaVersion.VERSION_21
7+
targetCompatibility = JavaVersion.VERSION_21
88

99
archivesBaseName = project.archives_base_name
1010
version = project.mod_version
@@ -37,8 +37,7 @@ processResources {
3737
}
3838

3939
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
4241
}
4342

4443
java {

gradle.properties

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ org.gradle.jvmargs=-Xmx1G
33

44
# Fabric Properties
55
# 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
99

1010
# Mod Properties
11-
mod_version = 1.1.2-1.20.1
11+
mod_version = 1.1.2-1.21.1
1212
maven_group = ru.xzeldon.removeblockoutline
1313
archives_base_name = removeblockoutline
1414

1515
# Dependencies
16-
fabric_version=0.83.1+1.20.1
16+
fabric_version=0.102.1+1.21.1
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
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
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

gradlew.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
@rem See the License for the specific language governing permissions and
1414
@rem limitations under the License.
1515
@rem
16+
@rem SPDX-License-Identifier: Apache-2.0
17+
@rem
1618

1719
@if "%DEBUG%" == "" @echo off
1820
@rem ##########################################################################

src/main/resources/fabric.mod.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@
3131
],
3232

3333
"depends": {
34-
"fabricloader": ">=0.14.6",
34+
"fabricloader": ">=0.16.2",
3535
"fabric": "*",
36-
"minecraft": "~1.20",
37-
"java": ">=17"
36+
"minecraft": "~1.21.1",
37+
"java": ">=21"
3838
},
3939
"suggests": {
4040
"another-mod": "*"

src/main/resources/removeblockoutline.mixins.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"required": true,
33
"minVersion": "0.8",
44
"package": "ru.xzeldon.removeblockoutline.mixin",
5-
"compatibilityLevel": "JAVA_17",
5+
"compatibilityLevel": "JAVA_21",
66
"mixins": [
77
],
88
"client": [

0 commit comments

Comments
 (0)